\BlockLinks
Synopsis
class BlockLinks
extends BlockBase
{
- // members
- private static array $views = ;
- private static string $default_view = 'BBLinksListView';
- private static array $db = ;
- private static array $has_many = ;
- // Inherited members from BlockBase
- protected array|boolean $blockAreaConfig;
- // methods
- public void singular_name()
- public void plural_name()
- public void getCMSFields()
- public void getCMSValidator()
- public void onBeforeWrite()
- public void onAfterWrite()
- public void onAfterDelete()
- public void getSavedLinks()
- public void setViewData()
- // Inherited methods from BlockBase
- protected void getCMSRequiredFields()
- public void getCMSValidator()
- public HTMLText xforTemplate()
- protected mixed getBlockAreaConfig()
- public void getMaxWidth()
- public int getMaxHeight()
Hierarchy
Extends
Tasks
Line | Task |
---|---|
6+ | : |
117+ | Garbage cleanup routine for unlinked media items |
Members
private
- $db
- $default_view
—
string
Default view - $has_many
- $views
—
array
Different views available for user selection.
protected
- $blockAreaConfig
—
array|boolean
Instance cache for block area config
Methods
public
- getCMSFields()
- getCMSValidator()
- getSavedLinks()
- onAfterDelete()
- onAfterWrite()
- onBeforeWrite()
- plural_name()
- setViewData()
- singular_name()
Inherited from BlockBase
protected
- getBlockAreaConfig() — Gets configuration for the associated block area
- getCMSRequiredFields()
public
- getCMSValidator()
- getMaxHeight() — Gets the max height configured
- getMaxWidth()
- xforTemplate() — Renders template