Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
__construct (DatabaseDriver $db) | |
check () | |
store ($updateNulls=false) | |
delete ($pk=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 | |
getKeyName () | |
Fonctions membres publiques hérités de DispatcherAwareInterface | |
setDispatcher (DispatcherInterface $dispatcher) | |
Fonctions membres protégées | |
_getAssetName () | |
_getAssetTitle () | |
_getAssetParentId (Table $table=null, $id=null) | |
Fonctions membres protégées hérités de Table | |
_getAssetName () | |
_getAssetTitle () | |
_lock () | |
_unlock () | |
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) |
Champs de données hérités de Table | |
$typeAlias = null | |
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() | |
Menu Types table
__construct | ( | DatabaseDriver | $db | ) |
Constructor
DatabaseDriver | $db | Database driver object. |
Références $db, et Symfony\Contracts\Service\__construct().
|
protected |
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.
Références $id.
Method to get the parent asset under which to register this one. By default, all assets are registered to the ROOT node with ID, which will default to 1 if none exists. The extended class can define a table and id to lookup. If the asset does not exist it will be created.
Références $assetId, $id, Table\getInstance(), et null.
|
protected |
check | ( | ) |
Overloaded check function
Implémente TableInterface.
Références $id, $menutype, $query, Text\_(), ParameterType\INTEGER, Text\sprintf(), et ApplicationHelper\stringURLSafe().
delete | ( | $pk = null | ) |
Method to delete a row from the database table by primary key value.
mixed | $pk | An optional primary key value to delete. If not set the instance property value is used. |
Implémente TableInterface.
Références $query, $star, $this, $userId, Text\_(), Joomla\CMS\MVC\Model\getDbo(), Table\getInstance(), Factory\getUser(), ParameterType\INTEGER, null, et Text\sprintf().
store | ( | $updateNulls = false | ) |
Method to store a row in the database from the Table 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 Table instance.
boolean | $updateNulls | True to update fields even if they are null. |
Implémente TableInterface.
Références $query, $this, $userId, Text\_(), Joomla\CMS\MVC\Model\getDbo(), Table\getInstance(), Factory\getUser(), et Text\sprintf().