Class Module
A module of the framework.
- ICanBoogie\Object
-
ICanBoogie\Module
Methods summary
protected
string
|
|
protected
string
|
|
protected
array
|
|
protected
|
|
public
|
|
public
string
|
|
protected
string
|
|
protected
ActiveRecord\Model
|
|
protected
string
|
|
protected
|
|
public
mixed
|
|
public
boolean|null
|
|
public
boolean|null
|
|
public
ICanBoogie\ActiveRecord\Model
|
|
protected
|
|
public
mixed
|
Constants summary
string |
T_CATEGORY
Defines the category for the module. |
#
'category'
|
string |
T_CLASS
Defines the PHP class of the module. |
#
'class'
|
string |
T_DESCRIPTION
Defines a short description of what the module do. |
#
'description'
|
boolean |
T_DISABLED
Defines the state of the module. |
#
'disabled'
|
string| |
T_EXTENDS
Defines the module that the module extends. |
#
'extends'
|
string |
T_ID
Defines the identifier of the module. |
#
'id'
|
boolean |
T_REQUIRED
Defines the state of the module. |
#
'required'
|
array[string]string |
T_REQUIRES
Defines the modules that the module requires. |
#
'requires'
|
array[string]array|string |
T_MODELS
Defines the models of the module. |
#
'models'
|
string |
T_NAMESPACE
Defines the namespace of the module. |
#
'namespace'
|
string |
T_PATH
Path to the module's directory. |
#
'path'
|
string|integer |
T_PERMISSION
General permission of the module. |
#
'permission'
|
array[]string |
T_PERMISSIONS
Defines the permissions added by the module. |
#
'permissions'
|
string |
T_TITLE
Defines the title of the module. |
#
'title'
|
string |
T_VERSION
Defines the version (and revision) of the module. |
#
'version'
|
integer |
T_WEIGHT
Defines the weight of the module. |
#
'weight'
|
integer |
PERMISSION_NONE
|
#
0
|
integer |
PERMISSION_ACCESS
|
#
1
|
integer |
PERMISSION_CREATE
|
#
2
|
integer |
PERMISSION_MAINTAIN
|
#
3
|
integer |
PERMISSION_MANAGE
|
#
4
|
integer |
PERMISSION_ADMINISTER
|
#
5
|
string |
OPERATION_SAVE
Defines the name of the operation used to save the records of the module. |
#
'save'
|
string |
OPERATION_DELETE
Defines the name of the operation used to delete the records of the module. |
#
'delete'
|
Properties summary
protected
array
|
$descriptor
The descriptor of the module. |
Magic properties
public read-only
array
|
$descriptor
The descriptor of the module. |
public read-only
string
|
$flat_id
Underscored identifier. |
public read-only
string
|
$id
The identifier of the module, defined by ICanBoogie\Descriptor::ID. |
public read-only
ICanBoogie\ActiveRecord\Model
|
$model
The primary model of the module. |
public read-only
|
$parent
The parent module, defined by ICanBoogie\Descriptor::INHERITS. |
public read-only
string
|
$path
The path to the module, defined by ICanBoogie\Descriptor::PATH. |
public read-only
string
|
$title
The localized title of the module. |
public read-only
|
$collection
|
public read-only
Core
|
$app
|