This class handles a database table.
Upon creation of the object, the table and database name (optional) are defined.
Methods
Constructor, defines a database table
__construct(string $table, string $database) : void
Sets encoding to be used, and set name of the object
Parameters
$database
string
Database name (optional, default : null)
Disables trimming whitespace of object name
disableTrimName() : void
Inherited
inherited_from |
\Formaid_Object::disableTrimName() |
Display object
display() : void
Inherited
The name of the object is printed to stdout.
inherited_from |
\Formaid_Object::display() |
Enables trimming whitespace of object name
enableTrimName() : void
Inherited
inherited_from |
\Formaid_Object::enableTrimName() |
return Display string
getDisplayString() : string
Inherited
inherited_from |
\Formaid_Object::getDisplayString() |
Returns
string
formatted object string
Returns name of the object
getName() : string
Inherited
inherited_from |
\Formaid_Object::getName() |
Returns
string
object name
Checks if object name is empty
isNameEmpty() : bool
Inherited
inherited_from |
\Formaid_Object::isNameEmpty() |
Returns
bool
true if empty
Sets new name for the object
setName(string $new_name) : void
Inherited
inherited_from |
\Formaid_Object::setName() |
Parameters
Show object
show() : void
Inherited
The name of the object is printed to stdout.
inherited_from |
\Formaid_Object::show() |
Returns name formatted for displaying
getDisplayName() : string
Inherited
inherited_from |
\Formaid_Object::getDisplayName() |
Returns
string
formatted object name
Properties
$encoding : string
Inherited
access |
protected |
inherited_from |
\Formaid_Object::$$encoding |
$name : string
Inherited
access |
protected |
inherited_from |
\Formaid_Object::$$name |
$_dbConn
access |
private |
type |
object |
$_trimName : bool
Inherited
access |
private |
inherited_from |
\Formaid_Object::$$_trimName |