|
| __construct (\JDatabaseDriver $db) |
|
| bind ($array, $ignore='') |
|
| check () |
|
| store ($updateNulls=false) |
|
| __construct ($table, $key, $db) |
|
| attachObserver (\JObserverInterface $observer) |
|
| getObserverOfClass ($observerClass) |
|
| getFields ($reload=false) |
|
| appendPrimaryKeys ($query, $pk=null) |
|
| getTableName () |
|
| getKeyName ($multiple=false) |
|
| getDbo () |
|
| setDbo ($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) |
|
| attachObserver (JObserverInterface $observer) |
|
Content table
- Depuis
- 1.5
- Obsolète:
- 3.1.4 Class will be removed upon completion of transition to UCM
◆ __construct()
Constructor
- Paramètres
-
\JDatabaseDriver | $db | A database connector object |
- Depuis
- 1.5
- Obsolète:
- 3.1.4 Class will be removed upon completion of transition to UCM
Références $db, et Tags\createObserver().
◆ _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
- 1.6
- Obsolète:
- 3.1.4 Class will be removed upon completion of transition to UCM
◆ _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
- 1.6
- Obsolète:
- 3.1.4 Class will be removed upon completion of transition to UCM
Références $assetId, $id, $query, et null.
◆ _getAssetTitle()
Method to return the title to use for the asset table.
- Renvoie
- string
- Depuis
- 1.6
- Obsolète:
- 3.1.4 Class will be removed upon completion of transition to UCM
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 string
- Voir également
- Table::bind()
- Depuis
- 1.6
- Obsolète:
- 3.1.4 Class will be removed upon completion of transition to UCM
◆ check()
Overloaded check function
- Renvoie
- boolean True on success, false on failure
- Voir également
- Table::check()
- Depuis
- 1.5
- Obsolète:
- 3.1.4 Class will be removed upon completion of transition to UCM
Ensure any new items have compulsory fields set. This is needed for things like frontend editing where we don't show all the fields or using some kind of API
Références $key, $title, language, ApplicationHelper\stringURLSafe(), et title.
◆ getDefaultAssetValues()
getDefaultAssetValues |
( |
|
$component | ) |
|
|
protected |
Gets the default asset values for a component.
- Paramètres
-
string | $component | The component asset name to search for |
- Renvoie
- Rules The Rules object for the asset
- Depuis
- 3.4
- Obsolète:
- 3.4 Class will be removed upon completion of transition to UCM
Références $assetId, $component, $db, $query, et Access\getAssetRules().
◆ store()
store |
( |
|
$updateNulls = false | ) |
|
Overrides Table::store to set modified data and user id.
- Paramètres
-
boolean | $updateNulls | True to update fields even if they are null. |
- Renvoie
- boolean True on success.
- Depuis
- 1.6
- Obsolète:
- 3.1.4 Class will be removed upon completion of transition to UCM
Références $date, $user, et Table\getInstance().
La documentation de cette classe a été générée à partir du fichier suivant :