cAllDatabaseFields::__construct() - rstoetter/libsqlphp GitHub Wiki

Method __construct( )

 public   \rstoetter\libsqlphp\cAllDatabaseFields rstoetter\libsqlphp\cAllDatabaseFields::__construct(\rstoetter\libsqlphp\mysqli $mysqli, string $name_database, string $name_table)

The constructor of cAllDatabaseFields

Example:

Arguments

  • $mysqli rstoetter\libsqlphp\mysqli - <p>the database connection</p>
  • $name_database string - <p>the name of the target database to read the fields from</p>
  • $name_table string - <p>the optional name of the table to examine - if it is an empty string, then all tables are examined. Defaults to an empty string.</p>

Returns

\rstoetter\libsqlphp\cAllDatabaseFields a new instance of cAllDatabaseFields