|
| __construct ($db) |
|
| check () |
|
| bind ($array, $ignore='') |
|
| find ($options=array()) |
|
| publish ($pks=null, $state=1, $userId=0) |
|
| __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) |
|
Extension table
- Depuis
- 1.7.0
◆ __construct()
Constructor
- Paramètres
-
\JDatabaseDriver | $db | Database driver object. |
- Depuis
- 1.7.0
Références $db.
◆ 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
- Voir également
- Table::bind()
- Depuis
- 1.7.0
◆ check()
Overloaded check function
- Renvoie
- boolean True if the object is ok
- Voir également
- Table::check()
- Depuis
- 1.7.0
Références name.
◆ find()
find |
( |
|
$options = array() | ) |
|
Method to create and execute a SELECT WHERE query.
- Paramètres
-
array | $options | Array of options |
- Renvoie
- string The database query result
- Depuis
- 1.7.0
Références $options, et $query.
◆ publish()
publish |
( |
|
$pks = null , |
|
|
|
$state = 1 , |
|
|
|
$userId = 0 |
|
) |
| |
Method to set the publishing state for a row or list of rows in the database table. The method respects checked out rows by other users and will attempt to checkin rows that it can after adjustments are made.
- Paramètres
-
mixed | $pks | An optional array of primary key values to update. If not set the instance property value is used. |
integer | $state | The publishing state. eg. [0 = unpublished, 1 = published] |
integer | $userId | The user id of the user performing the operation. |
- Renvoie
- boolean True on success.
- Depuis
- 1.7.0
Références $query, $state, $userId, et ArrayHelper\toInteger().
La documentation de cette classe a été générée à partir du fichier suivant :