Class BeditaSimpleStreamModel
Base model for simple stream objects.
- Model
- AppModel
- BEAppModel
- BEAppObjectModel
- BeditaSimpleStreamModel
Located at app_model.php
Methods summary
public
|
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()
,
email()
,
fieldsString()
,
findObjects()
,
findObjectsAfterFilter()
,
findObjectsClauses()
,
findObjectsCount()
,
getBindingsLevel()
,
getDefaultDateFormat()
,
getDriver()
,
getEndQuote()
,
getLimitClausole()
,
getStartQuote()
,
setBindingsLevel()
,
setupDbParams()
,
toolbar()
Properties summary
public
array
|
$searchFields
|
#
array(
"title" => 10,
"nickname" => 8,
"description" => 6,
"subject" => 4,
"abstract" => 4,
"body" => 4,
"name" => 6,
"original_name" => 8,
"note" => 2
)
|
protected
array
|
$modelBindings
|
#
array(
'detailed' => array(
'BEObject' => array(
'ObjectType',
'Permission',
'UserCreated',
'UserModified',
'RelatedObject',
'Annotation',
'Category',
'LangText',
'ObjectProperty',
'Alias',
'Version' => array('User.realname', 'User.userid')
),
'Content'
),
'default' => array(
'BEObject' => array(
'ObjectProperty',
'LangText',
'ObjectType',
'RelatedObject',
'Annotation',
'Category'
),
'Content'
),
'minimum' => array(
'BEObject' => array('ObjectType', 'Category'),
'Content'
),
'frontend' => array(
'BEObject' => array(
'LangText',
'ObjectProperty',
'Category',
'RelatedObject'
),
'Content'
),
'api' => array(
'BEObject' => array(
'LangText',
'ObjectProperty',
'Category'
),
'Content'
)
)
|
public
array
|
$actsAs
|
#
array(
'Callback',
'CompactResult' => array(),
'SearchTextSave' => array(),
'RevisionObject',
'ForeignDependenceSave' => array('BEObject', 'Content'),
'DeleteObject' => 'objects',
'Notify'
)
|
public
array
|
$hasOne
|
#
array(
'BEObject' =>
array(
'className' => 'BEObject',
'conditions' => '',
'foreignKey' => 'id',
'dependent' => true
),
'Content' =>
array(
'className' => 'Content',
'conditions' => '',
'foreignKey' => 'id',
'dependent' => true
),
)
|