CommonITILObject::getActorFieldNameType PHP Метод

getActorFieldNameType() статический публичный Метод

get field part name corresponding to actor type
static public getActorFieldNameType ( $type ) : get
$type integer : user type
Результат get typename
    static function getActorFieldNameType($type)
    {
        switch ($type) {
            case CommonITILActor::REQUESTER:
                return 'requester';
            case CommonITILActor::OBSERVER:
                return 'observer';
            case CommonITILActor::ASSIGN:
                return 'assign';
            default:
                return false;
        }
    }
CommonITILObject