PHP Класс ContactBehavior

(C) Moorfields Eye Hospital NHS Foundation Trust, 2008-2011 (C) OpenEyes Foundation, 2011-2013 This file is part of OpenEyes. OpenEyes is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. OpenEyes is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenEyes in a file titled COPYING. If not, see .
Автор: OpenEyes ([email protected])
Наследование: extends CActiveRecordBehavior
Показать файл Открыть проект

Открытые методы

Метод Описание
addAddress ( $address )
afterDelete ( $event )
beforeSave ( $event )
getFullName ( )
getLetterAddress ( $params = [] )
getLetterIntroduction ( $params = [] )
getMetadata ( $key )
getPrefix ( ) * this can be overridden by models that use this behavior
getReversedFullName ( )
getSalutationName ( )
isDeceased ( )
setMetadata ( $key, $value )

Защищенные методы

Метод Описание
formatLetterAddress ( $contact, $address, $params = [] )

Описание методов

addAddress() публичный Метод

public addAddress ( $address )

afterDelete() публичный Метод

public afterDelete ( $event )

beforeSave() публичный Метод

public beforeSave ( $event )

formatLetterAddress() защищенный Метод

protected formatLetterAddress ( $contact, $address, $params = [] )

getFullName() публичный Метод

public getFullName ( )

getLetterAddress() публичный Метод

public getLetterAddress ( $params = [] )

getLetterIntroduction() публичный Метод

public getLetterIntroduction ( $params = [] )

getMetadata() публичный Метод

public getMetadata ( $key )

getPrefix() публичный Метод

* this can be overridden by models that use this behavior
public getPrefix ( )

getReversedFullName() публичный Метод

public getReversedFullName ( )

getSalutationName() публичный Метод

public getSalutationName ( )

isDeceased() публичный Метод

public isDeceased ( )

setMetadata() публичный Метод

public setMetadata ( $key, $value )