Public Member Functions | Public Attributes

Property Class Reference

Property object. More...

Inheritance diagram for Property:
BEAppModel AppModel

List of all members.

Public Member Functions

 propertyId ($name, $objectTypeId)
 Get property id from name and object type id.
 propertyNames ($objectTypeId)
 Return an array of property names of a specific object_type_id.

Public Attributes

 $actsAs
 $hasMany
 $validate

Detailed Description

Property object.

Definition at line 25 of file property.php.


Member Function Documentation

Property::propertyId ( name,
objectTypeId 
)

Get property id from name and object type id.

Parameters:
$name,name of the property
$name,name of the property
Returns:
proerty id on success, null if no proerty id was found

Definition at line 48 of file property.php.

Property::propertyNames ( objectTypeId  ) 

Return an array of property names of a specific object_type_id.

The array keys are the property ids

Parameters:
int $objectTypeId the object type id
Returns:
array

Definition at line 64 of file property.php.


Member Data Documentation

Property::$actsAs
Initial value:
 array('CompactResult' => 
        array('PropertyOption', 'ObjectProperty', 'UserProperty'))

Reimplemented from BEAppModel.

Definition at line 27 of file property.php.

Property::$hasMany
Initial value:
 array(
        'PropertyOption', 
        'ObjectProperty', 
        'UserProperty')

Definition at line 30 of file property.php.

Property::$validate
Initial value:
 array(
        'name' => array(
          'rule' => 'notEmpty'
        )
    )

Definition at line 35 of file property.php.


The documentation for this class was generated from the following file:
Generated on Fri Dec 11 2015 15:29:47 by Doxygen 1.7.1  BEditaBEdita 3.7 Corylus