|
| __construct ($db) |
|
| check () |
|
| rebuild ($parentId=0, $left=0) |
|
| store ($updateNulls=false) |
|
| delete ($oid=null) |
|
| __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) |
|
Usergroup table class.
- Depuis
- 1.7.0
◆ __construct()
Constructor
- Paramètres
-
\JDatabaseDriver | $db | Database driver object. |
- Depuis
- 1.7.0
Références $db.
◆ check()
Method to check the current record to save
- Renvoie
- boolean True on success
- Depuis
- 1.7.0
Références $db, $id, $query, elseif, et title.
◆ delete()
Delete this object and its dependencies
- Paramètres
-
integer | $oid | The primary key of the user group to delete. |
- Renvoie
- mixed Boolean or Exception.
- Depuis
- 1.7.0
- Exceptions
-
Références $db, $id, $oid, et $query.
◆ rebuild()
rebuild |
( |
|
$parentId = 0 , |
|
|
|
$left = 0 |
|
) |
| |
Method to recursively rebuild the nested set tree.
- Paramètres
-
integer | $parentId | The root of the tree to rebuild. |
integer | $left | The left id to start with in building the tree. |
- Renvoie
- boolean True on success
- Depuis
- 1.7.0
Références $db, $i, et $n.
◆ store()
store |
( |
|
$updateNulls = false | ) |
|
Inserts a new row if id is zero or updates an existing row in the database table
- Paramètres
-
boolean | $updateNulls | If false, null object variables are not updated |
- Renvoie
- boolean True if successful, false otherwise and an internal error message is set
- Depuis
- 1.7.0
La documentation de cette classe a été générée à partir du fichier suivant :