|
| __construct (DatabaseDriver $db) |
|
| check () |
|
| bind ($array, $ignore='') |
|
| store ($updateNulls=true) |
|
| __construct ($table, $key, DatabaseDriver $db, DispatcherInterface $dispatcher=null) |
|
| getFields ($reload=false) |
|
| appendPrimaryKeys ($query, $pk=null) |
|
| getTableName () |
|
| getKeyName ($multiple=false) |
|
| getId () |
|
| getDbo () |
|
| setDbo (DatabaseDriver $db) |
|
| setRules ($input) |
|
| getRules () |
|
| reset () |
|
| bind ($src, $ignore=array()) |
|
| load ($keys=null, $reset=true) |
|
| check () |
|
| save ($src, $orderingFilter='', $ignore='') |
|
| checkOut ($userId, $pk=null) |
|
| checkIn ($pk=null) |
|
| hasPrimaryKey () |
|
| hit ($pk=null) |
|
| isCheckedOut ($with=0, $against=null) |
|
| getNextOrder ($where='') |
|
| getPrimaryKey (array $keys=array()) |
|
| reorder ($where='') |
|
| move ($delta, $where='') |
|
| publish ($pks=null, $state=1, $userId=0) |
|
| getColumnAlias ($column) |
|
| setColumnAlias ($column, $columnAlias) |
|
| hasField ($key) |
|
| __construct ($properties=null) |
|
| __toString () |
|
| def ($property, $default=null) |
|
| get ($property, $default=null) |
|
| getProperties ($public=true) |
|
| getError ($i=null, $toString=true) |
|
| getErrors () |
|
| set ($property, $value=null) |
|
| setProperties ($properties) |
|
| setError ($error) |
|
| delete ($pk=null) |
|
| getKeyName () |
|
| setDispatcher (DispatcherInterface $dispatcher) |
|
◆ __construct()
◆ _getAssetName()
Method to compute the default name of the asset. The default name is in the form table_name.id where id is the value of the primary key of the table.
- Renvoie
- string
- Depuis
- 3.2
◆ _getAssetParentId()
Method to get the parent asset id for the record
- Paramètres
-
Table | $table | A Table object (optional) for the asset parent |
integer | $id | The id (optional) of the content. |
- Renvoie
- integer
- Depuis
- 3.2
Références $assetId, $id, $query, $result, et null.
◆ _getAssetTitle()
Method to return the title to use for the asset table.
- Renvoie
- string
- Depuis
- 3.2
Références $title.
◆ bind()
bind |
( |
|
$array, |
|
|
|
$ignore = '' |
|
) |
| |
Overloaded bind function.
- Paramètres
-
array | $array | Named array. |
mixed | $ignore | An optional array or space separated list of properties to ignore while binding. |
- Renvoie
- mixed Null if operation was satisfactory, otherwise returns an error
- Voir également
- Table::bind()
- Depuis
- 1.5
Implémente TableInterface.
◆ check()
◆ store()
store |
( |
|
$updateNulls = true | ) |
|
Stores a module.
- Paramètres
-
boolean | $updateNulls | True to update fields even if they are null. |
- Renvoie
- boolean True on success, false on failure.
- Depuis
- 3.7.0
Implémente TableInterface.
◆ $_supportNullValue
$_supportNullValue = true |
|
protected |
La documentation de cette classe a été générée à partir du fichier suivant :