Class Area
Publication data
- Model
-
AppModel
-
BEAppModel
-
BEAppObjectModel
-
BeditaCollectionModel
-
Area
Located at models/objects/collection/area.php
Methods inherited from BeditaCollectionModel
Methods inherited from BEAppObjectModel
apiTransformer(),
arrangeDataForClone(),
checkType(),
cloneObject(),
field(),
getTypeId(),
save(),
saveField(),
updateHasManyAssoc(),
validateContent()
Methods inherited from BEAppModel
am(),
buildQueryStatement(),
checkDate(),
checkDuration(),
checkFloat(),
checkNumber(),
containLevel(),
fieldsString(),
findObjects(),
findObjectsAfterFilter(),
findObjectsClauses(),
findObjectsCount(),
getBindingsLevel(),
getDefaultDateFormat(),
getDriver(),
getEndQuote(),
getLimitClausole(),
getStartQuote(),
setBindingsLevel(),
setupDbParams(),
toolbar()
Properties summary
public
array
|
$actsAs
|
#
array(
'ForeignDependenceSave' => array('SectionDummy'),
'RemoveDummyName'
)
|
public
array
|
$searchFields
|
#
array(
"title" => 10,
"nickname" => 8,
"description" => 6,
"public_name" => 10,
"public_url" => 8,
"note" => 2
)
|
protected
array
|
$modelBindings
|
#
array(
'detailed' => array(
'BEObject' => array(
'ObjectType',
'UserCreated',
'UserModified',
'Permission',
'ObjectProperty',
'LangText',
'RelatedObject',
'Annotation',
'Version' => array('User.realname', 'User.userid')
),
'SectionDummy'
),
'default' => array(
'BEObject' => array(
'ObjectProperty',
'LangText',
'RelatedObject',
'ObjectType'
),
'SectionDummy'
),
'minimum' => array('BEObject' => array('ObjectType')),
'frontend' => array(
'BEObject' => array(
'LangText',
'RelatedObject',
'ObjectProperty'
)
),
'api' => array(
'BEObject' => array(
'LangText',
'ObjectProperty'
)
)
)
|
public
array
|
$hasOne
|
#
array(
'BEObject' => array(
'className' => 'BEObject',
'conditions' => '',
'foreignKey' => 'id',
'dependent' => true
),
'SectionDummy' => array(
'className' => 'SectionDummy',
'foreignKey' => 'id'
),
)
|
public
array
|
$validate
|
#
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
)
)
|
public
array
|
$objectTypesGroups
|
#
array('related')
|