SilverWare\Search\Components\SearchComponent
An extension of the base component class for a search component.
- Author: Colin Tucker <colin@praxis.net.au>
- Copyright: 2017 Praxis Interactive
- License: https://opensource.org/licenses/BSD-3-Clause BSD-3-Clause
Synopsis
class SearchComponent
extends BaseComponent
{
- // members
- private static string $singular_name = 'Search Component';
- private static string $plural_name = 'Search Components';
- private static string $description = 'A component which shows a search form for the site';
- private static string $icon = 'silverware/search: admin/client/dist/images/icons/SearchComponent.png';
- private static string $table_name = 'SilverWare_Search_SearchComponent';
- private static string $hide_ancestor = BaseComponent::class;
- private static array $defaults = ;
Hierarchy
Extends
- SilverWare\Components\BaseComponent
Members
private
- $defaults
—
array
Defines the default values for the fields of this object. - $description
—
string
Description of this object. - $hide_ancestor
—
string
Defines an ancestor class to hide from the admin interface. - $icon
—
string
Icon file for this object. - $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.