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

Method CollectFieldsOfTable( )

 public   array rstoetter\libsqlphp\cAllDatabaseFields::CollectFieldsOfTable(string $tablename, array $a_fields)

returns all fields of a table $tablename in an array of cDatabaseField

Example:

Arguments

  • $tablename string - <p>the name of the table</p>
  • $a_fields array - <p>the resulting array with the table names</p>

Returns

array an array with elements of cDatabaseField