Class BeditaStreamModel
Base model for stream objects.
- Model
- AppModel
- BEAppModel
- BEAppObjectModel
- BeditaStreamModel
Direct known subclasses
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()
,
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',
'Category',
'ObjectProperty',
'LangText',
'Annotation',
'Alias',
'Version' => array('User.realname', 'User.userid')
),
'Content',
'Stream'
),
'default' => array(
'BEObject' => array(
'ObjectProperty',
'LangText',
'ObjectType',
'RelatedObject',
'Category',
'Annotation'
),
'Content',
'Stream'
),
'minimum' => array(
'BEObject' => array('ObjectType', 'Category'),
'Content',
'Stream'
),
'frontend' => array(
'BEObject' => array(
'LangText',
'ObjectProperty',
'Category',
'RelatedObject'
),
'Content',
'Stream'
),
'api' => array(
'BEObject' => array(
'LangText',
'ObjectProperty',
'Category'
),
'Content',
'Stream'
)
)
|
public
array
|
$actsAs
|
#
array(
'Callback',
'CompactResult' => array(),
'SearchTextSave' => array(),
'RevisionObject',
'ForeignDependenceSave' => array('BEObject', 'Content', 'Stream'),
'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
),
'Stream' =>
array(
'className' => 'Stream',
'conditions' => '',
'foreignKey' => 'id',
'dependent' => true
),
)
|