Namespace Brickrouge
Namespaces summary
Brickrouge\Element |
Brickrouge\Renderer |
Brickrouge\Widget |
Classes summary
A | A <A> element. |
Actions | An actions element that can be used with forms or popovers. |
Alert | A <DIV.alert> element. |
AlterCSSClassNamesEvent | Event class for the event alter_css_class_names . |
AssetsCollector | Root class for documents assets collectors. |
Button | A <BUTTON> element. |
CSSCollector | Collector for CSS assets. |
Dataset | Custom data attributes are intended to store custom data private to the page or application, for which there are no more appropriate attributes or elements. |
Date | An <INPUT> element of type text . |
DateRange | An HTML element. |
DateTime | An <INPUT> element of type text . |
Decorator | Decorates the specified component. |
Document | An HTML document. |
DropdownMenu | A drop down menu element. |
Element | An HTML element. |
File | An HTML element. |
Form | A <FORM> element. |
Group | A <FIELDSET> element with an optional
<LEGEND> element. |
Helpers | Brickrouge helpers. |
HTMLString | Representation of an HTML string. |
Iterator | An iterator used to traverse Brickrouge\Element descendant. |
JSCollector | Collector for Javascript assets. |
ListView | A listview element. |
ListViewColumn | Representation of a listview column. |
Modal | An HTML element. |
Pager | An HTML element. |
Popover | Creates a popover element. |
PopoverWidget | A popover element with automatically attached behaviour. |
Ranger | An HTML element. |
RecursiveIterator | An iterator used to traverse Brickrouge\Element descendant in depth. |
Salutation | An HTML element. |
Searchbox | An HTML element. |
Section | An HTML element. |
SplitButton | An element made of a button and a drop down menu. |
Text | An <INPUT> element of type text . |
Widget | An HTML element. |
Interfaces summary
CSSClassNames | Interface for classes implementing CSS class names. |
DecoratorInterface | An interface to a _Decorator_ design pattern used to decorate HTML strings and objects that render as HTML strings. |
HTMLStringInterface | Indicates that instances can be rendered into an safe HTML string. |
Validator |
Traits summary
CSSClassNamesProperty | Interface for classes implementing CSS class names. |
Exceptions summary
ElementIsEmpty | Exception thrown when one wants to cancel the whole rendering of an empty
element. The Brickrouge\Element class takes care of this special case and instead
of rendering the exception only returns an empty string as the result of its
Brickrouge\Element::render() method. |
Functions summary
_array_flatten_callback | |
array_flatten | |
array_insert | Inserts a value in a array before, or after, at given key. |
check_session | Checks if the session is started, and start it otherwise. |
dump | |
escape | Convert special characters to HTML entities. |
escape_all | |
format | Formats the given string by replacing placeholders with the given values. |
format_size | Formats a number into a size with unit (o, Ko, Mo, Go). |
get_accessible_file | Returns a web accessible path to a web inaccessible file. |
get_document | Returns the global document object. |
normalize | Normalizes the input provided and returns the normalized string. |
render_css_class | Renders CSS class names into a string suitable for the HTML class
attribute. |
render_exception | Renders an exception into a string. |
retrieve_form | Retrieve a stored form. |
retrieve_form_errors | Retrieves the validation errors of a form. |
shorten | Shortens a string at a specified position. |
stable_sort | Sorts an array using a stable sorting algorithm while preserving its keys. |
store_form | Stores of form for later validation. |
store_form_errors | Stores the validation errors of a form. |
strip | |
t | Translates a string to the current language or to a given language. |