Public Member Functions | Public Attributes | Protected Attributes

Area Class Reference

Publication data. More...

Inheritance diagram for Area:
BeditaCollectionModel BEAppObjectModel BEAppModel AppModel

List of all members.

Public Member Functions

 afterSave ($created)

Public Attributes

 $actsAs
 $searchFields
 $hasOne
 $validate
 $objectTypesGroups = array('related')

Protected Attributes

 $modelBindings

Detailed Description

Publication data.

Definition at line 26 of file area.php.


Member Data Documentation

Area::$actsAs
Initial value:
 array(
        'ForeignDependenceSave' => array('SectionDummy'),
        'RemoveDummyName'
    )

Reimplemented from BeditaCollectionModel.

Definition at line 29 of file area.php.

Area::$hasOne
Initial value:
 array(
            'BEObject' => array(
                    'className'     => 'BEObject',
                    'conditions'   => '',
                    'foreignKey'    => 'id',
                    'dependent'     => true
                ),
            'SectionDummy' => array(
                    'className'     => 'SectionDummy',
                    'foreignKey'    => 'id'
                ),
    )

Reimplemented from BeditaCollectionModel.

Definition at line 83 of file area.php.

Area::$searchFields
Initial value:
 array(
        "title" => 10,
        "nickname" => 8,
        "description" => 6,
        "public_name" => 10,
        "public_url" => 8,
        "note" => 2
    )

Definition at line 34 of file area.php.

Area::$validate
Initial value:
 array(
        'title' => array(
            'rule' => 'notEmpty',
            'required' => true
        ),
        'public_url' => array(
            'rule' => 'url',
            'message' => 'url not valid',
            'allowEmpty' => true
        ),
        'staging_url' => array(
            'rule' => 'url',
            'message' => 'url not valid',
            'allowEmpty' => true
        ),
        'email' => array(
            'rule' => 'email',
            'message' => 'email not valid',
            'allowEmpty' => true
        ),
        'stats_provider_url' => array(
            'rule' => 'url',
            'message' => 'url not valid',
            'allowEmpty' => true
        )
    )

Definition at line 96 of file area.php.


The documentation for this class was generated from the following file:
Generated on Fri Dec 11 2015 15:29:46 by Doxygen 1.7.1  BEditaBEdita 3.7 Corylus