|
| __construct ($db=null) |
|
| bind ($src, $ignore='') |
|
| check () |
|
| 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()
__construct |
( |
|
$db = null | ) |
|
◆ _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.7.0
◆ _getAssetParentId()
Method to get the parent asset under which to register this one. By default, all assets are registered to the ROOT node with ID, which will default to 1 if none exists. The extended class can define a table and id to lookup. If the asset does not exist it will be created.
- Paramètres
-
Table | $table | A Table object for the asset parent. |
integer | $id | Id to look up |
- Renvoie
- integer
- Depuis
- 3.7.0
Références $assetId, $component, et $id.
◆ _getAssetTitle()
Method to return the title to use for the asset table. In tracking the assets a title is kept for each asset so that there is some context available in a unified access manager. Usually this would just return $this->title or $this->name or whatever is being used for the primary name of the row. If this method is not overridden, the asset name is used.
- Renvoie
- string The string to use as the title in the asset table.
3.7.0
Références $title.
◆ bind()
bind |
( |
|
$src, |
|
|
|
$ignore = '' |
|
) |
| |
Method to bind an associative array or object to the JTable instance.This method only binds properties that are publicly accessible and optionally takes an array of properties to ignore when binding.
- Paramètres
-
mixed | $src | An associative array or object to bind to the JTable instance. |
mixed | $ignore | An optional array or space separated list of properties to ignore while binding. |
- Renvoie
- boolean True on success.
- Depuis
- 3.7.0
- Exceptions
-
Implémente TableInterface.
Références $i, $option, et $options.
◆ check()
◆ getAssetId()
◆ store()
store |
( |
|
$updateNulls = true | ) |
|
Overloaded store function
- Paramètres
-
boolean | $updateNulls | True to update fields even if they are null. |
- Renvoie
- mixed False on failure, positive integer on success.
- Voir également
- Table::store()
- Depuis
- 4.0.0
Implémente TableInterface.
◆ $_supportNullValue
$_supportNullValue = true |
|
protected |
La documentation de cette classe a été générée à partir du fichier suivant :