Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
__construct (DatabaseDriver $db) | |
loadByName ($name) | |
check () | |
rebuild ($parentId=null, $leftId=0, $level=0, $path=null) | |
Fonctions membres publiques hérités de Nested | |
debug ($level) | |
getPath ($pk=null, $diagnostic=false) | |
getTree ($pk=null, $diagnostic=false) | |
isLeaf ($pk=null) | |
setLocation ($referenceId, $position='after') | |
move ($delta, $where='') | |
moveByReference ($referenceId, $position='after', $pk=null, $recursiveUpdate=true) | |
check () | |
store ($updateNulls=false) | |
publish ($pks=null, $state=1, $userId=0) | |
orderUp ($pk) | |
orderDown ($pk) | |
getRootId () | |
rebuild ($parentId=null, $leftId=0, $level=0, $path='') | |
rebuildPath ($pk=null) | |
reset () | |
saveorder ($idArray=null, $lftArray=null) | |
Fonctions membres publiques hérités de Table | |
__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) | |
Fonctions membres publiques hérités de CMSObject | |
__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) | |
Fonctions membres publiques hérités de TableInterface | |
delete ($pk=null) | |
getKeyName () | |
Fonctions membres publiques hérités de DispatcherAwareInterface | |
setDispatcher (DispatcherInterface $dispatcher) | |
Champs de données | |
$id = null | |
$name = null | |
$title = null | |
$rules = null | |
Champs de données hérités de Nested | |
$parent_id | |
$level | |
$lft | |
$rgt | |
$alias | |
Champs de données hérités de Table | |
$typeAlias = null | |
Membres hérités additionnels | |
Fonctions membres publiques statiques hérités de Table | |
static | getInstance ($type, $prefix='JTable', $config=array()) |
static | addIncludePath ($path=null) |
Fonctions membres protégées hérités de Nested | |
recursiveUpdatePublishedColumn ($pk, $newState=null) | |
_getNode ($id, $key=null) | |
_getTreeRepositionData ($referenceNode, $nodeWidth, $position='before') | |
_logtable ($showData=true, $showQuery=true) | |
_runQuery ($query, $errorMessage) | |
Fonctions membres protégées hérités de Table | |
_getAssetName () | |
_getAssetTitle () | |
_lock () | |
_unlock () | |
Attributs protégés hérités de Nested | |
$_location | |
$_location_id | |
$_cache = array() | |
$_debug = 0 | |
Attributs protégés hérités de Table | |
$_tbl = '' | |
$_tbl_key = '' | |
$_tbl_keys = array() | |
$_db | |
$_trackAssets = false | |
$_rules | |
$_locked = false | |
$_autoincrement = true | |
$_columnAlias = array() | |
$_jsonEncode = array() | |
$_supportNullValue = false | |
Attributs protégés hérités de CMSObject | |
$_errors = array() | |
Attributs protégés statiques hérités de Nested | |
static | $root_id = 0 |
Table class supporting modified pre-order tree traversal behavior.
__construct | ( | DatabaseDriver | $db | ) |
Constructor
DatabaseDriver | $db | Database driver object. |
Références $db, et Symfony\Contracts\Service\__construct().
check | ( | ) |
Assert that the nested set data is valid.
Implémente TableInterface.
loadByName | ( | $name | ) |
Method to load an asset by its name.
string | $name | The name of the asset. |
Références $name.
Method to recursively rebuild the whole nested set tree.
integer | $parentId | The root of the tree to rebuild. |
integer | $leftId | The left id to start with in building the tree. |
integer | $level | The level to assign to the current nodes. |
string | $path | The path to the current nodes. |
$rules = null |
$title = null |