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é
|
Fonctions membres publiques | |
getRowData (Table $table) | |
Fonctions membres publiques statiques | |
static | addSubmenu ($vName) |
static | countRelations (&$items, $config) |
static | _getActions ($categoryId=0, $id=0, $assetName='') |
static | getActions ($component='', $section='', $id=0) |
static | getCurrentLanguage ($detectBrowser=true) |
static | getLanguageId ($langCode) |
Helper for standard content style extensions. This class mainly simplifies static helper methods often repeated in individual components
|
static |
Gets a list of the actions that can be performed.
integer | $categoryId | The category ID. |
integer | $id | The item ID. |
string | $assetName | The asset name |
Références $action, $id, $path, $section, $user, Log\add(), elseif, Access\getActionsFromFile(), Factory\getUser(), JPATH_ADMINISTRATOR, et Log\WARNING.
|
static |
Configure the Linkbar. Must be implemented by each extension.
string | $vName | The name of the active view. |
|
static |
Adds Count relations for Category and Tag Managers
stdClass[] | &$items The category or tag objects | |
stdClass | $config | Configuration object allowing to use a custom relations table |
Get relation counts for all category objects with single query NOTE: 'state IN', allows counting specific states / conditions only, also prevents warnings with custom states / conditions, do not remove
Références $config, $db, $item, $items, $n, et Factory\getDbo().
|
static |
Gets a list of the actions that can be performed.
string | $component | The component name. |
string | $section | The access section name. |
integer | $id | The item ID. |
Références $action, $component, $id, $section, $user, Log\add(), Log\ERROR, Access\getActionsFromFile(), Factory\getUser(), JPATH_ADMINISTRATOR, et null.
|
static |
Gets the current language
boolean | $detectBrowser | Flag indicating whether to use the browser language as a fallback. |
Références $app, LanguageHelper\detectLanguage(), Factory\getApplication(), ApplicationHelper\getHash(), ComponentHelper\getParams(), PluginHelper\getPlugin(), Factory\getSession(), Multilanguage\isEnabled(), et null.
|
static |
Gets the associated language ID
string | $langCode | The language code to look up |
Références $db, $query, et Factory\getDbo().
Référencé par UCMBase\mapBase(), et UCMContent\store().
getRowData | ( | Table | $table | ) |