common/models/UserColleagues.php
/**
     * return status name by colleague_status value
     * @param string $colleague_permission
     * @return string | null
     */
return status name by colleague_status value
@param string $colleague_permission
@return string | null
return status name by colleague_status value @param string $colleague_permission @return string | null
public static function permissionLabel($colleague_permission)
    {
        $params = self::permissionParams();
        return isset($params[$colleague_permission]) ? $params[$colleague_permission] : null;
    }
public static function permissionLabel ( $ colleague_permission ) { $ params = self :: permissionParams ( ) ; return isset ( $ params [ $ colleague_permission ] ) ? $ params [ $ colleague_permission ] : null ; }
return status name by colleague_status value
 @param string $colleague_permission
 @return string | null
return status name by colleague_status value @param string $colleague_permission @return string | null