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

  • A
  • Actions
  • Alert
  • AlterCSSClassNamesEvent
  • AssetsCollector
  • Button
  • CSSCollector
  • Dataset
  • Date
  • DateRange
  • DateTime
  • Decorator
  • Document
  • DropdownMenu
  • Element
  • File
  • Form
  • Group
  • Helpers
  • HTMLString
  • Iterator
  • JSCollector
  • ListView
  • ListViewColumn
  • Modal
  • Pager
  • Popover
  • PopoverWidget
  • Ranger
  • RecursiveIterator
  • Salutation
  • Searchbox
  • Section
  • SplitButton
  • Text
  • Widget

Interfaces

  • CSSClassNames
  • DecoratorInterface
  • HTMLStringInterface
  • Validator

Traits

  • CSSClassNamesProperty

Exceptions

  • ElementIsEmpty

Functions

  • _array_flatten_callback
  • array_flatten
  • array_insert
  • check_session
  • dump
  • escape
  • escape_all
  • format
  • format_size
  • get_accessible_file
  • get_document
  • normalize
  • render_css_class
  • render_exception
  • retrieve_form
  • retrieve_form_errors
  • shorten
  • stable_sort
  • store_form
  • store_form_errors
  • strip
  • t

Trait CSSClassNamesProperty

Interface for classes implementing CSS class names.

Classes implementing the interface should provide the Brickrouge\CSSClassNamesProperty::css_class() and css_class_names magic properties.

Direct Known Users

Icybee\Modules\Comments\Comment, Icybee\Modules\Nodes\Node, Icybee\Modules\Taxonomy\Terms\Term, Icybee\Modules\Users\User

Indirect Known Users

Icybee\Modules\Articles\Article, Icybee\Modules\Contents\Content, Icybee\Modules\Files\File, Icybee\Modules\Forms\Form, Icybee\Modules\Images\Image, Icybee\Modules\Members\Member, Icybee\Modules\Pages\Page

Namespace: Brickrouge
Located at vendor/brickrouge/css-class-names/lib/trait.php

Methods summary

public string
# css_class( string|array $modifiers = null )

Return the rendered CSS class of the instance.

Return the rendered CSS class of the instance.

Parameters

$modifiers
string|array
$modifiers CSS class names modifiers

Returns

string
protected string
# get_css_class( )

Returns the CSS class of the instance.

Returns the CSS class of the instance.

Returns

string
abstract protected array[string]mixed
# get_css_class_names( )

Returns the CSS class names of the instance.

Returns the CSS class names of the instance.

Returns

array[string]mixed
abstract public
# __get( string $property )

The method is declared as abstract because the Brickrouge\CSSClassNamesProperty::get_css_class() and Brickrouge\CSSClassNamesProperty::get_css_class_names() method are meant to be mapped to magic properties.

The method is declared as abstract because the Brickrouge\CSSClassNamesProperty::get_css_class() and Brickrouge\CSSClassNamesProperty::get_css_class_names() method are meant to be mapped to magic properties.

Parameters

$property
string
$property

Magic methods summary

Properties summary

Magic properties

public read-only string $css_class
#

The CSS class of the instance.

The CSS class of the instance.

Autodoc API documentation generated by ApiGen 2.8.0