|
| __construct (DatabaseDriver $db) |
|
| bind ($array, $ignore='') |
|
| check () |
|
| store ($updateNulls=true) |
|
| getTypeAlias () |
|
| __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) |
|
| getTagsHelper () |
|
| setTagsHelper (TagsHelper $tagsHelper) |
|
| clearTagsHelper () |
|
◆ __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
- 1.6
◆ _getAssetParentId()
◆ _getAssetTitle()
Method to return the title to use for the asset table.
- Renvoie
- string
- Depuis
- 1.6
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
Implémente TableInterface.
◆ check()
Overloaded check function
- Renvoie
- boolean True on success, false on failure
- Voir également
- Table::check()
- Depuis
- 1.5
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
Implémente TableInterface.
Références $key, $temp, $title, Text\_(), Factory\getDate(), hits, language, null, StringHelper\str_ireplace(), et ApplicationHelper\stringURLSafe().
◆ getTypeAlias()
Get the type alias for UCM features
- Renvoie
- string The alias as described above
- Depuis
- 4.0.0
Implémente TaggableTableInterface.
◆ store()
store |
( |
|
$updateNulls = true | ) |
|
◆ $_supportNullValue
$_supportNullValue = true |
|
protected |
La documentation de cette classe a été générée à partir du fichier suivant :