PHP Class ContactLocation

The followings are the available columns in table 'contact_location':
Inheritance: extends BaseActiveRecordVersioned
Afficher le fichier Open project: openeyes/openeyes Class Usage Examples

Méthodes publiques

Méthode Description
__toString ( ) : string
attributeLocations ( ) : array
behaviors ( )
getLetterAddress ( unknown $params = [] ) : array() gets a letter address for this contact location.
getLetterArray ( $include_country )
getPatients ( )
model ( $className = __CLASS__ ) : ContactLocation Returns the static model of the specified AR class.
relations ( ) : array
rules ( ) : array
search ( ) : CActiveDataProvider Retrieves a list of models based on the current search/filter conditions.
tableName ( ) : string

Method Details

__toString() public méthode

public __toString ( ) : string
Résultat string

attributeLocations() public méthode

public attributeLocations ( ) : array
Résultat array customized attribute locations (name=>location)

behaviors() public méthode

public behaviors ( )

getLetterAddress() public méthode

gets a letter address for this contact location.
public getLetterAddress ( unknown $params = [] ) : array()
$params unknown
Résultat array()

getLetterArray() public méthode

public getLetterArray ( $include_country )

getPatients() public méthode

public getPatients ( )

model() public static méthode

Returns the static model of the specified AR class.
public static model ( $className = __CLASS__ ) : ContactLocation
Résultat ContactLocation the static model class

relations() public méthode

public relations ( ) : array
Résultat array relational rules.

rules() public méthode

public rules ( ) : array
Résultat array validation rules for model attributes.

tableName() public méthode

public tableName ( ) : string
Résultat string the associated database table name