|
| __construct ($db) |
|
| check () |
|
| store ($updateNulls=false) |
|
| fieldmapExpand ($assoc=true) |
|
| getTypeId ($typeAlias) |
|
| getContentTable () |
|
| __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) |
|
◆ __construct()
Constructor
- Paramètres
-
\JDatabaseDriver | $db | A database connector object |
- Depuis
- 3.1
Références $db.
◆ check()
Overloaded check method to ensure data integrity.
- Renvoie
- boolean True on success.
- Depuis
- 3.1
- Exceptions
-
◆ fieldmapExpand()
fieldmapExpand |
( |
|
$assoc = true | ) |
|
Method to expand the field mapping
- Paramètres
-
boolean | $assoc | True to return an associative array. |
- Renvoie
- mixed Array or object with field mappings. Defaults to object.
- Depuis
- 3.1
Références $assoc.
◆ getContentTable()
Method to get the Table object for the content type from the table object.
- Renvoie
- mixed Table object on success, otherwise false.
- Depuis
- 3.2
- Exceptions
-
Références $class.
◆ getTypeId()
Method to get the id given the type alias
- Paramètres
-
string | $typeAlias | Content type alias (for example, 'com_content.article'). |
- Renvoie
- mixed type_id for this alias if successful, otherwise null.
- Depuis
- 3.2
Références $db, et $query.
◆ store()
store |
( |
|
$updateNulls = false | ) |
|
Overridden Table::store.
- Paramètres
-
boolean | $updateNulls | True to update fields even if they are null. |
- Renvoie
- boolean True on success.
- Depuis
- 3.1
Références Table\getInstance().
La documentation de cette classe a été générée à partir du fichier suivant :