Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
getRowData (Table $table) | |
Fonctions membres publiques statiques | |
static | addSubmenu ($vName) |
static | countRelations (&$items, $config) |
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 |
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
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().
Référencé par Joomla\CMS\Categories\countItems().
|
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 $actions, $component, $id, $result, $section, $user, Log\add(), Log\ERROR, Access\getActionsFromFile(), Factory\getUser(), JPATH_ADMINISTRATOR, et Text\sprintf().
Référencé par HtmlView\addToolbar(), DisplayController\canView(), et HtmlView\display().
|
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(), Multilanguage\isEnabled(), et null.
Référencé par TagsPopularHelper\getList(), TagsSimilarHelper\getList(), et TagsModel\getListQuery().
|
static |
Gets the associated language ID
string | $langCode | The language code to look up |
Références $db, $query, et Joomla\CMS\MVC\Model\getDbo().
Référencé par UCMBase\mapBase(), UCMContent\store(), et CoreContent\storeUcmBase().
getRowData | ( | Table | $table | ) |