ModelChunks

Chunks of code used by the Models class used whrn creating IModel classes.
Source
ModelChunks.php
Depends on
Arta

Static Properties

constants = array

ModelChunks::$constants = array(
        'Widget::DROPDOWN',
        'Widget::MULTI_CHECKBOX',
        'Widget::MULTI_OPTION',
        'Widget::MULTI_SELECT',
        'Widget::DATE_PICKER',
        'Widget::DROPDOWN_TIME',
        'Widget::DATE_TIME',
        'Widget::AUTO_COMPLETE',
        'Widget::CK',
        'Widget::COMBO',
        'Form::INPUT',
        'Form::TEXT',
        'Form::FILE',
        'Form::CHECKBOX',
        'Form::RADIO',
        'Form::IMG',
        'Form::BUTTON',
        'Form::SUBMIT',
        'Form::RESET',
        'Form::IMAGE',
        'Form::LABEL',
        'Form::PASSWORD',
        'Form::HIDDEN',
        'Form::DIV',
        'Form::ANCHOR',
        'Form::IBUTTON',
    )

Constants used in IModel property definitions.

Static Methods

afterAdd

string ModelChunks::afterAdd()

Method body, used for creating/updating models. After add event.

Returns

string
Method definition code

afterDelete

string ModelChunks::afterDelete()

Method body, used for creating/updating models. After delete event

Returns

string
Method definition code

afterNext

string ModelChunks::afterNext()

Method body, used for creating/updating models. After next event.

Returns

string
Method definition code

afterQuery

string ModelChunks::afterQuery()

Method body, used for creating/updating models. After query event.

Returns

string
Method definition code

afterUpdate

string ModelChunks::afterUpdate()

Method body, used for creating/updating models. After update event.

Returns

string
Method definition code

beforeAdd

string ModelChunks::beforeAdd()

Method body, used for creating/updating models. Before add event.

Returns

string
Method definition code

beforeDelete

string ModelChunks::beforeDelete()

Method body, used for creating/updating models. Before delete event.

Returns

string
Method definition code

beforeQuery

string ModelChunks::beforeQuery()

Method body, used for creating/updating models. Before query event.

Returns

string
Method definition code

beforeUpdate

string ModelChunks::beforeUpdate()

Method body, used for creating/updating models. Before update event.

Returns

string
Method definition code

construct

string ModelChunks::construct()

Method body, used for creating/updating models. Constructor.

Returns

string
Method definition code

system

string ModelChunks::system()

Code templates used by Artaengine builder to create cache files.

Returns

string
Code