Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
__construct (DatabaseDriver $db) | |
delete ($pk=null) | |
check () | |
store ($updateNulls=true) | |
bind ($src, $ignore=array()) | |
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 () | |
Attributs protégés | |
$_supportNullValue = true | |
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() | |
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 | |
Stage table
__construct | ( | DatabaseDriver | $db | ) |
DatabaseDriver | $db | Database connector 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 $extension, $parts, Joomla\CMS\MVC\Model\$workflow, et Joomla\CMS\MVC\Model\getDbo().
Get the parent asset id for the record
Table | null | $table | A Table object for the asset parent. |
integer | null | $id | The id for the asset |
Références $assetId, $extension, $id, $name, $parts, Joomla\CMS\MVC\Model\$workflow, et Joomla\CMS\MVC\Model\getDbo().
|
protected |
bind | ( | $src, | |
$ignore = array() |
|||
) |
Method to bind an associative array or object to the Table instance. This method only binds properties that are publicly accessible and optionally takes an array of properties to ignore when binding.
array | object | $src | An associative array or object to bind to the Table instance. |
array | string | $ignore | An optional array or space separated list of properties to ignore while binding. |
Implémente TableInterface.
check | ( | ) |
Overloaded check function
Implémente TableInterface.
Références $db, $id, $query, Text\_(), elseif, Joomla\CMS\MVC\Model\getDbo(), et ParameterType\INTEGER.
delete | ( | $pk = null | ) |
Deletes workflow with transition and stages.
int | $pk | Extension ids to delete. |
Implémente TableInterface.
Références $app, $db, $query, Text\_(), Factory\getApplication(), Joomla\CMS\MVC\Model\getDbo(), ParameterType\INTEGER, et Text\sprintf().
store | ( | $updateNulls = true | ) |
Overloaded store function
boolean | $updateNulls | True to update fields even if they are null. |
Implémente TableInterface.
Références Joomla\CMS\MVC\Model\getDbo().
|
protected |