Class Comment
Comment annotation
- Model
- AppModel
- BEAppModel
- BEAppObjectModel
- BeditaAnnotationModel
- Comment
Located at models/objects/comment.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
string
|
$useTable
|
#
'annotations'
|
public
array
|
$actsAs
|
#
array()
|
public
array
|
$objectTypesGroups
|
#
array("nodashboard")
|
protected
array
|
$modelBindings
|
#
array(
'detailed' => array(
'BEObject' => array(
'ObjectType',
'UserCreated',
'UserModified',
'RelatedObject',
'Version' => array('User.realname', 'User.userid'),
'GeoTag'
),
'ReferenceObject'
),
'default' => array(
'BEObject' => array('ObjectType', 'GeoTag'),
'ReferenceObject'
),
'minimum' => array('BEObject' => array('ObjectType')),
'frontend' => array('BEObject' => array('RelatedObject', 'GeoTag')),
'api' => array('BEObject' => array('GeoTag'))
)
|
public
array
|
$validate
|
#
array(
'author' => array(
'required' => true
),
'description' => array(
'required' => true
),
'email' => array(
'rule' => 'email',
'required' => true,
'message' => 'email not valid'
),
'url' => array (
'rule' => 'url',
'required' => false,
'allowEmpty' => true,
'message' => 'URL not valid'
)
)
|