Autodoc
  • Namespace
  • Class
  • Tree

Namespaces

  • BlueTihi
    • Context
  • Brickrouge
    • Element
      • Nodes
    • Renderer
    • Widget
  • ICanBoogie
    • ActiveRecord
    • AutoConfig
    • CLDR
    • Composer
    • Core
    • Event
    • Exception
    • HTTP
      • Dispatcher
      • Request
    • I18n
      • Translator
    • Mailer
    • Modules
      • Taxonomy
        • Support
      • Thumbnailer
        • Versions
    • Object
    • Operation
      • Dispatcher
    • Prototype
    • Routes
    • Routing
      • Dispatcher
    • Session
  • Icybee
    • ActiveRecord
      • Model
    • ConfigOperation
    • Document
    • EditBlock
    • Element
      • ActionbarContextual
      • ActionbarSearch
      • ActionbarToolbar
    • FormBlock
    • Installer
    • ManageBlock
    • Modules
      • Articles
      • Cache
        • Collection
        • ManageBlock
      • Comments
        • ManageBlock
      • Contents
        • ManageBlock
      • Dashboard
      • Editor
        • Collection
      • Files
        • File
        • ManageBlock
      • Forms
        • Form
        • ManageBlock
      • I18n
      • Images
        • ManageBlock
      • Members
      • Modules
        • ManageBlock
      • Nodes
        • ManageBlock
        • Module
      • Pages
        • BreadcrumbElement
        • LanguagesElement
        • ManageBlock
        • NavigationBranchElement
        • NavigationElement
        • Page
        • PageController
      • Registry
      • Search
      • Seo
      • Sites
        • ManageBlock
      • Taxonomy
        • Terms
          • ManageBlock
        • Vocabulary
          • ManageBlock
      • Users
        • ManageBlock
        • NonceLogin
        • Roles
      • Views
        • ActiveRecordProvider
        • Collection
        • View
    • Operation
      • ActiveRecord
      • Constructor
      • Module
      • Widget
    • Rendering
  • None
  • Patron
  • PHP

Classes

  • AdminDecorator
  • AdminIndexController
  • BlockController
  • BlockDecorator
  • ConfigBlock
  • ConfigController
  • ConfigOperation
  • Core
  • DeleteBlock
  • DeleteController
  • Document
  • DocumentDecorator
  • EditBlock
  • EditController
  • FormBlock
  • Hooks
  • InterlockBlock
  • Kses
  • ManageBlock
  • Module
  • Modules
  • StatsDecorator

Constants

  • OPERATION_SAVE_MODE
  • OPERATION_SAVE_MODE_CONTINUE
  • OPERATION_SAVE_MODE_DISPLAY
  • OPERATION_SAVE_MODE_LIST
  • OPERATION_SAVE_MODE_NEW

Functions

  • slugize
  • start
  • strip_stopwords

Class BlockDecorator

Decorates a component with a _block element_.

The component is wrapped in a div.block.block--<name>.block--<module>--<name> element. Where <name> is the normalized name of the block, and <module> is the normalized identifier of the module that created the component.

Brickrouge\Decorator implements Brickrouge\DecoratorInterface
Extended by Icybee\BlockDecorator
Namespace: Icybee
Located at vendor/icybee/icybee/lib/controllers/block.php

Methods summary

public
# __construct( mixed $block, string $block_name, string $module_id )

Initialiazes the Icybee\BlockDecorator::$block_name and Icybee\BlockDecorator::$module_id properties.

Initialiazes the Icybee\BlockDecorator::$block_name and Icybee\BlockDecorator::$module_id properties.

Parameters

$block
mixed
$block The block to decorate.
$block_name
string
$block_name The name of the block.
$module_id
string
$module_id The itentifier of the module providing the block.

Overrides

Brickrouge\Decorator::__construct
public mixed
# render( )

Renders the component.

Renders the component.

Returns

mixed
The component supplied during Icybee\BlockDecorator::__construct() is returned as is.

Overrides

Brickrouge\Decorator::render

Methods inherited from Brickrouge\Decorator

__toString()

Magic methods summary

Properties summary

protected string $block_name
#

Name of the block.

Name of the block.

protected string $module_id
#

The identifier of the module providing the block.

The identifier of the module providing the block.

Properties inherited from Brickrouge\Decorator

$component

Autodoc API documentation generated by ApiGen 2.8.0