Class Section
Section of website/publication
- Model
-
AppModel
-
BEAppModel
-
BEAppObjectModel
-
BeditaCollectionModel
-
Section
Methods summary
public
|
|
public
|
|
public
|
#
promoteToArea( integer $sectionId )
Promote a section to publication (area) All section's tree structure is maintained |
public
|
|
public
array
|
#
apiTransformer( array $options = array() )
Return an array of column types to transform (cast) for generic BEdita object type Used to build consistent REST APIs |
Methods inherited from BeditaCollectionModel
Methods inherited from BEAppObjectModel
arrangeDataForClone(),
checkType(),
cloneObject(),
field(),
getTypeId(),
save(),
saveField(),
updateHasManyAssoc(),
validateContent()
Methods inherited from BEAppModel
am(),
buildQueryStatement(),
checkDate(),
checkDuration(),
checkFloat(),
checkNumber(),
containLevel(),
email(),
fieldsString(),
findObjects(),
findObjectsAfterFilter(),
findObjectsClauses(),
findObjectsCount(),
getBindingsLevel(),
getDefaultDateFormat(),
getDriver(),
getEndQuote(),
getLimitClausole(),
getStartQuote(),
setBindingsLevel(),
setupDbParams(),
toolbar()
Properties summary
public
array
|
$actsAs
|
#
array()
|
public
array
|
$searchFields
|
#
array(
"title" => 10,
"nickname" => 8,
"description" => 6,
"note" => 2
)
|
protected
array
|
$modelBindings
|
#
array(
'detailed' => array(
'BEObject' => array(
'ObjectType',
'UserCreated',
'UserModified',
'Permission',
'ObjectProperty',
'LangText',
'RelatedObject',
'Alias',
'Annotation',
'Category',
'Version' => array('User.realname', 'User.userid'),
'GeoTag'
),
'Tree'
),
'default' => array(
'BEObject' => array(
'ObjectProperty',
'LangText',
'ObjectType',
'Category',
'RelatedObject',
'GeoTag'
),
'Tree'
),
'minimum' => array('BEObject' => array('ObjectType')),
'frontend' => array(
'BEObject' => array(
'LangText',
'Category',
'RelatedObject',
'ObjectProperty'
),
'Tree'
),
'api' => array(
'BEObject' => array(
'LangText',
'Category',
'ObjectProperty'
),
'Tree'
)
)
|
public
array
|
$validate
|
#
array(
'title' => array(
'rule' => 'notEmpty',
'required' => true
),
'parent_id' => array(
'rule' => 'notEmpty'
)
)
|
public
array
|
$objectTypesGroups
|
#
array('related')
|