Package: View\Helper
Helper used to retrieve record metadata for for display.
Retrieve a specific piece of a record’s metadata for display.
Parameters: |
|
---|---|
Returns: | string|array|null Null if field does not exist for item. Array if certain options are passed. String otherwise. |
Options can sometimes be an integer or a string instead of an array, which functions as a handy shortcut for theme writers. This converts the short form of the options into its proper array form.
Parameters: |
|
---|---|
Returns: | array |
Retrieve the text associated with a given element or field of the record.
Parameters: |
|
---|---|
Returns: | string|array Either an array of ElementText records or a string. |
Retrieve record metadata that is not stored as ElementTexts.
Parameters: |
|
---|---|
Returns: | mixed |
Retrieve the set of ElementText records that correspond to a given element set and element.
Parameters: |
|
---|---|
Returns: | array Set of ElementText records. |
Process an individual piece of text.
If given an ElementText record, the actual text string will beextracted automatically.
Parameters: |
|
---|---|
Returns: | string |
Apply filters to a text value.
Parameters: |
|
---|---|
Returns: | string |