SilverWare\Navigation\Items\RowItem
An extension of the bar item class for a row item.
- Author: Colin Tucker <colin@praxis.net.au>
- Copyright: 2017 Praxis Interactive
- License: https://opensource.org/licenses/BSD-3-Clause BSD-3-Clause
Synopsis
class RowItem
extends BarItem
{
- // members
- private static string $singular_name = 'Row Item';
- private static string $plural_name = 'Row Items';
- private static string $description = 'A bar item to group together other items in a row';
- private static string $table_name = 'SilverWare_Navigation_RowItem';
- private static string $hide_ancestor = BarItem::class;
- private static array|string $allowed_children = ;
- // methods
- public array getClassNames()
- // Inherited methods from BarItem
- public DBHTMLText|string renderSelf()
Hierarchy
Members
private
- $allowed_children
—
SilverWare\Navigation\Items\array|string
Defines the allowed children for this object. - $description
—
string
Description of this object. - $hide_ancestor
—
string
Defines an ancestor class to hide from the admin interface. - $plural_name
—
string
Human-readable plural name. - $singular_name
—
string
Human-readable singular name. - $table_name
—
string
Defines the table name to use for this object.
Methods
public
- getClassNames() — Answers an array of class names for the HTML template.
Inherited from SilverWare\Navigation\Model\BarItem
public
- renderSelf() — Renders the object for the HTML template.