|
| __construct (DatabaseDriver $db) |
|
| 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) |
|
Filter table class for the Finder package.
- Depuis
- 2.5
store |
( |
|
$updateNulls = true | ) |
|
Method to store a row in the database from the instance properties. If a primary key value is set the row with that primary key value will be updated with the instance property values. If no primary key value is set a new row will be inserted into the database with the properties from the instance.
- Paramètres
-
boolean | $updateNulls | True to update fields even if they are null. [optional] |
- Renvoie
- boolean True on success.
- Depuis
- 2.5
Implémente TableInterface.
Références $date, $userId, Text\_(), Factory\getDate(), Joomla\CMS\MVC\Model\getDbo(), et Factory\getUser().