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 statiques | |
static | extract ($contextString, $item=null) |
static | getFields ($context, $item=null, $prepareValue=false, array $valuesToOverride=null) |
static | render ($context, $layoutFile, $displayData) |
static | canEditFieldValue ($field) |
static | displayFieldOnForm ($field) |
static | getAssignedCategoriesTitles ($fieldId) |
static | getFieldsPluginId () |
static | addSubmenu ($context, $vName) |
static | getFieldTypes () |
static | clearFieldsCache () |
Attributs privés statiques | |
static | $fieldsCache = null |
static | $fieldCache = null |
|
static |
Configure the Linkbar.
string | $context | The context the fields are used for |
string | $vName | The view currently active |
Références $component, $context, $file, $lang, $parts, et JPATH_ADMINISTRATOR.
Référencé par FieldsViewFields\display(), et FieldsViewGroups\display().
|
static |
Return a boolean if the actual logged in user can edit the given field value.
stdClass | $field | The field |
Référencé par PlgFieldsRepeatable\onCustomFieldsPrepareDom(), FieldsPlugin\onCustomFieldsPrepareDom(), et FieldsModelField\setFieldValue().
|
static |
Clears the internal cache for the custom fields.
Références null.
Référencé par FieldsModelField\save(), et FieldsModelField\setFieldValue().
|
static |
Return a boolean based on field (and field group) display / show_on settings
stdClass | $field | The field |
Références $app, $field, et elseif.
Référencé par FieldsPlugin\onCustomFieldsPrepareDom().
|
static |
Extracts the component and section from the context string which has to be in the format component.context.
string | $contextString | contextString |
object | $item | optional item object |
Références $component, $item, $parts, $path, $section, JPATH_ADMINISTRATOR, null, et JLoader\register().
Référencé par FieldsControllerField\__construct(), FieldsControllerGroup\__construct(), FieldsViewGroup\addToolbar(), FieldsViewGroups\addToolbar(), FieldsModelField\canDelete(), FieldsModelField\canEditState(), PrivacyPlugin\createCustomFieldsDomain(), FieldsViewGroup\display(), PlgSystemFields\display(), FieldsModelField\getForm(), FieldsModelFields\getListQuery(), PlgSystemFields\onContentAfterDelete(), PlgSystemFields\onContentAfterSave(), PlgSystemFields\onContentNormaliseRequestData(), PlgSystemFields\onContentPrepare(), PlgSystemFields\onContentPrepareForm(), PlgButtonFields\onDisplay(), FieldsModelFields\populateState(), FieldsModelField\populateState(), PlgContentFields\prepare(), et FieldsModelGroup\preprocessForm().
|
static |
|
static |
Returns the fields for the given context. If the item is an object the returned fields do have an additional field "value" which represents the value for the given item. If the item has an assigned_cat_ids field, then additionally fields which belong to that category will be returned. Should the value being prepared to be shown in an HTML context then prepareValue must be set to true. No further escaping needs to be done. The values of the fields can be overridden by an associative array where the keys have to be a name and its corresponding value.
string | $context | The context of the content passed to the helper |
stdClass | $item | item |
int | bool | $prepareValue | (if int is display event): 1 - AfterTitle, 2 - BeforeDisplay, 3 - AfterDisplay, 0 - OFF |
array | $valuesToOverride | The values to override |
Références $context, $dispatcher, $field, $fields, $fieldValues, $item, $key, $value, elseif, JEventDispatcher\getInstance(), JPATH_ADMINISTRATOR, et null.
Référencé par ContactControllerContact\_sendEmail(), ContentModelArticle\batchMove(), ContentModelArticle\cleanupPostBatchCopy(), PrivacyPlugin\createCustomFieldsDomain(), PlgSystemFields\display(), PlgSystemFields\onContentAfterSave(), PlgSystemFields\onContentPrepare(), PlgButtonFields\onDisplay(), PlgSystemFields\onPrepareFinderContent(), et PlgContentFields\prepare().
|
static |
Gets the fields system plugin extension id.
Références $db, $query, et JError\raiseWarning().
Référencé par FieldsViewFields\display(), et FieldsViewGroups\display().
|
static |
Loads the fields plugins and returns an array of field types from the plugins.
The returned array contains arrays with the following keys:
Références $data, $fields, JEventDispatcher\getInstance(), et null.
Référencé par FieldsModelField\checkDefaultValue(), et JFormFieldType\getOptions().
|
static |
Renders the layout file and data on the context and does a fall back to Fields afterwards.
string | $context | The context of the content passed to the helper |
string | $layoutFile | layoutFile |
array | $displayData | displayData |
Références $context, $displayData, $parts, $value, et null.
Référencé par ContactControllerContact\_sendEmail(), PlgSystemFields\display(), et PlgContentFields\prepare().
|
staticprivate |
|
staticprivate |