|
static | getAssociationList ($extensionName, $typeName, $itemId) |
|
static | getExtensionHelper ($extensionName) |
|
static | getItem ($extensionName, $typeName, $itemId) |
|
static | hasSupport ($extensionName) |
|
static | getAssociationHtmlList ($extensionName, $typeName, $itemId, $itemLanguage, $addLink=true, $assocLanguages=true) |
|
static | getSupportedExtensions () |
|
static | getSupportedExtension ($extensionName) |
|
static | getContentLanguages () |
|
static | allowEdit ($extensionName, $typeName, $itemId) |
|
static | allowAdd ($extensionName, $typeName) |
|
static | isCheckoutItem ($extensionName, $typeName, $itemId) |
|
static | canCheckinItem ($extensionName, $typeName, $itemId) |
|
static | typeSupportsCheckout ($extensionName, $typeName) |
|
static | getTypeFieldName ($extensionName, $typeName, $fieldName) |
|
static | getLanguagefilterPluginId () |
|
static | addSubmenu ($vName) |
|
static | countRelations (&$items, $config) |
|
static | getActions ($component='', $section='', $id=0) |
|
static | getCurrentLanguage ($detectBrowser=true) |
|
static | getLanguageId ($langCode) |
|
Associations component helper.
- Depuis
- 3.7.0
◆ allowAdd()
static allowAdd |
( |
|
$extensionName, |
|
|
|
$typeName |
|
) |
| |
|
static |
◆ allowEdit()
static allowEdit |
( |
|
$extensionName, |
|
|
|
$typeName, |
|
|
|
$itemId |
|
) |
| |
|
static |
◆ canCheckinItem()
static canCheckinItem |
( |
|
$extensionName, |
|
|
|
$typeName, |
|
|
|
$itemId |
|
) |
| |
|
static |
◆ getAssociationHtmlList()
static getAssociationHtmlList |
( |
|
$extensionName, |
|
|
|
$typeName, |
|
|
|
$itemId, |
|
|
|
$itemLanguage, |
|
|
|
$addLink = true , |
|
|
|
$assocLanguages = true |
|
) |
| |
|
static |
Get the associated language edit links Html.
- Paramètres
-
string | $extensionName | Extension Name |
string | $typeName | ItemType |
integer | $itemId | Item id. |
string | $itemLanguage | Item language code. |
boolean | $addLink | True for adding edit links. False for just text. |
boolean | $assocLanguages | True for showing non associated content languages. False only languages with associations. |
- Renvoie
- string The language HTML
- Depuis
- 3.7.0
Références $canCreate, $classes, $content_languages, $db, $item, $itemId, $items, $labelClass, $language, $languages, $options, $query, $target, $text, $title, $tooltip, $url, Text\_(), Route\_(), elseif, ENT_QUOTES, Factory\getApplication(), Factory\getDbo(), ParameterType\INTEGER, LayoutHelper\render(), et Text\sprintf().
◆ getAssociationList()
static getAssociationList |
( |
|
$extensionName, |
|
|
|
$typeName, |
|
|
|
$itemId |
|
) |
| |
|
static |
Get the associated items for an item
- Paramètres
-
string | $extensionName | The extension name with com_ |
string | $typeName | The item type |
int | $itemId | The id of item for which we need the associated items |
- Renvoie
- array
- Depuis
- 3.7.0
Références $helper, et $itemId.
Référencé par ItemlanguageField\getOptions().
◆ getContentLanguages()
static getContentLanguages |
( |
| ) |
|
|
static |
Get all the content languages.
- Renvoie
- array Array of objects all content languages by language code.
- Depuis
- 3.7.0
◆ getEnabledExtensions()
static getEnabledExtensions |
( |
| ) |
|
|
staticprivate |
◆ getExtensionHelper()
static getExtensionHelper |
( |
|
$extensionName | ) |
|
|
static |
◆ getExtensionHelperClassName()
static getExtensionHelperClassName |
( |
|
$extensionName | ) |
|
|
staticprivate |
Get the extension specific helper class name
- Paramètres
-
string | $extensionName | The extension name with com_ |
- Renvoie
- string
- Depuis
- 3.7.0
◆ getExtensionRealName()
static getExtensionRealName |
( |
|
$extensionName | ) |
|
|
staticprivate |
Get the real extension name. This means without com_
- Paramètres
-
string | $extensionName | The extension name with com_ |
- Renvoie
- string
- Depuis
- 3.7.0
◆ getItem()
static getItem |
( |
|
$extensionName, |
|
|
|
$typeName, |
|
|
|
$itemId |
|
) |
| |
|
static |
◆ getLanguagefilterPluginId()
static getLanguagefilterPluginId |
( |
| ) |
|
|
static |
◆ getSupportedExtension()
static getSupportedExtension |
( |
|
$extensionName | ) |
|
|
static |
Get item context based on the item key.
- Paramètres
-
string | $extensionName | The extension identifier. |
- Renvoie
- The item properties.
- Depuis
- 3.7.0
Références $context, $helper, $lang, $result, $title, Text\_(), Factory\getLanguage(), JPATH_ADMINISTRATOR, et null.
Référencé par AssociationsController\checkin(), HtmlView\display(), et AssociationsModel\getListQuery().
◆ getSupportedExtensions()
static getSupportedExtensions |
( |
| ) |
|
|
static |
◆ getTypeFieldName()
static getTypeFieldName |
( |
|
$extensionName, |
|
|
|
$typeName, |
|
|
|
$fieldName |
|
) |
| |
|
static |
Get a table field name for a type
- Paramètres
-
string | $extensionName | The extension name with com_ |
string | $typeName | The item type |
string | $fieldName | The item type |
- Renvoie
- boolean True on allowed.
- Depuis
- 3.7.0
Références $helper.
◆ hasSupport()
static hasSupport |
( |
|
$extensionName | ) |
|
|
static |
Check if extension supports associations
- Paramètres
-
string | $extensionName | The extension name with com_ |
- Renvoie
- boolean
- Depuis
- 3.7.0
Référencé par Dispatcher\checkAccess().
◆ isCheckoutItem()
static isCheckoutItem |
( |
|
$extensionName, |
|
|
|
$typeName, |
|
|
|
$itemId |
|
) |
| |
|
static |
Check if an item is checked out
- Paramètres
-
string | $extensionName | The extension name with com_ |
string | $typeName | The item type |
int | $itemId | The id of item for which we need the associated items |
- Renvoie
- boolean True if item is checked out.
- Depuis
- 3.7.0
Références $helper, $item, et $itemId.
◆ loadHelper()
static loadHelper |
( |
|
$extensionName | ) |
|
|
staticprivate |
◆ typeSupportsCheckout()
static typeSupportsCheckout |
( |
|
$extensionName, |
|
|
|
$typeName |
|
) |
| |
|
static |
◆ $extensionsSupport
$extensionsSupport = null |
|
static |
◆ $supportedExtensionsList
$supportedExtensionsList = array() |
|
static |
La documentation de cette classe a été générée à partir du fichier suivant :