Joomla CMS  3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
Référence de la classe Category
+ Graphe d'héritage de Category:

Fonctions membres publiques

 __construct (\JDatabaseDriver $db)
 
 check ()
 
 bind ($array, $ignore='')
 
 store ($updateNulls=false)
 
- 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)
 
 delete ($pk=null, $children=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, $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)
 
- Fonctions membres publiques hérités de JObservableInterface
 attachObserver (JObserverInterface $observer)
 

Fonctions membres protégées

 _getAssetName ()
 
 _getAssetTitle ()
 
 _getAssetParentId (Table $table=null, $id=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 ()
 

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 Nested
 $parent_id
 
 $level
 
 $lft
 
 $rgt
 
 $alias
 
- 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
 
 $_observers
 
 $_columnAlias = array()
 
 $_jsonEncode = array()
 
 $_supportNullValue = false
 
- Attributs protégés statiques hérités de Nested
static $root_id = 0
 

Description détaillée

Category table

Depuis
1.5

Documentation des constructeurs et destructeur

◆ __construct()

__construct ( \JDatabaseDriver  $db)

Constructor

Paramètres
\JDatabaseDriver$dbDatabase driver object.
Depuis
1.5

Références $db, et Tags\createObserver().

Documentation des fonctions membres

◆ _getAssetName()

_getAssetName ( )
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.

Renvoie
string
Depuis
1.6

Références extension.

◆ _getAssetParentId()

_getAssetParentId ( Table  $table = null,
  $id = null 
)
protected

Get the parent asset id for the record

Paramètres
Table$tableA JTable object for the asset parent.
integer$idThe id for the asset
Renvoie
integer The id of the asset's parent
Depuis
1.6

Références $assetId, $id, $query, elseif, extension, et null.

◆ _getAssetTitle()

_getAssetTitle ( )
protected

Method to return the title to use for the asset table.

Renvoie
string
Depuis
1.6

Références $title.

◆ bind()

bind (   $array,
  $ignore = '' 
)

Overloaded bind function.

Paramètres
array$arraynamed array
string$ignoreAn 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.6

◆ check()

check ( )

Override check function

Renvoie
boolean
Voir également
Table::check()
Depuis
1.5

Références $title, language, ApplicationHelper\stringURLSafe(), et title.

◆ store()

store (   $updateNulls = false)

Overridden Table::store to set created/modified and user id.

Paramètres
boolean$updateNullsTrue to update fields even if they are null.
Renvoie
boolean True on success.
Depuis
1.6

Références $date, $user, extension, et Table\getInstance().


La documentation de cette classe a été générée à partir du fichier suivant :