Inherits DataItem.
Definition at line 41 of file component.inc.
◆ ComponentPages()
Component::ComponentPages |
( |
| ) |
|
◆ formatOptions()
static Component::formatOptions |
( |
| ) |
|
|
static |
◆ getComponent()
static Component::getComponent |
( |
|
$name | ) |
|
|
static |
◆ getPrettyName()
Component::getPrettyName |
( |
| ) |
|
Definition at line 70 of file component.inc.
72 return prettify($this->name);
◆ loadManifest()
Component::loadManifest |
( |
| ) |
|
Definition at line 96 of file component.inc.
100 if (class_exists(
$cl))
static using()
Import the datamodels, views and manifest for the specified component(s).
static getComponentClassRoot($name)
Retrieves the capitalized camlCase name for the specified component.
◆ $default_format
Component::$default_format = "{getPrettyName()}" |
◆ $fields
Initial value:= array("component_id" => Number,
"name" => String,
"version" => String,
"author" => String,
"description" => Text,
"priority" => Number,
"enabled" => Boolean,
"component_path" => String,
"last_modified" => Timestamp)
Definition at line 48 of file component.inc.
◆ $primary_key
Component::$primary_key = "component_id" |
◆ $relations
Component::$relations = array("ComponentPages" => ComponentPage) |
◆ $table
Component::$table = "component" |
The documentation for this class was generated from the following file:
- C:/code/cms.sonjara.com/cms/components/component/datamodel/component.inc