common/models/UserNode.php
/**
     * returns list of statuses in array
     *
     * @return array
     */
returns list of statuses in array
@return array
returns list of statuses in array @return array
public static function statusLabels()
    {
        return [
            self::STATUS_DEACTIVATED => Yii::t('models/user-node', 'DEACTIVATED'),
            self::STATUS_ACTIVE      => Yii::t('models/user-node', 'ACTIVE'),
            self::STATUS_DELETED     => Yii::t('models/user-node', 'DELETED'),
            self::STATUS_SYNCING     => Yii::t('models/user-node', 'SYNCING'),
            self::STATUS_SYNCED      => Yii::t('models/user-node', 'SYNCED'),
            self::STATUS_LOGGEDOUT   => Yii::t('models/user-node', 'LOGGEDOUT'),
            self::STATUS_WIPED       => Yii::t('models/user-node', 'WIPED'),
            self::STATUS_POWEROFF    => Yii::t('models/user-node', 'POWEROFF'),
            self::STATUS_PAUSED      => Yii::t('models/user-node', 'PAUSED'),
            self::STATUS_INDEXING    => Yii::t('models/user-node', 'INDEXING'),
        ];
    }
public static function statusLabels ( ) { return [ self :: STATUS_DEACTIVATED => Yii :: t ( 'models/user-node' , 'DEACTIVATED' ) , self :: STATUS_ACTIVE => Yii :: t ( 'models/user-node' , 'ACTIVE' ) , self :: STATUS_DELETED => Yii :: t ( 'models/user-node' , 'DELETED' ) , self :: STATUS_SYNCING => Yii :: t ( 'models/user-node' , 'SYNCING' ) , self :: STATUS_SYNCED => Yii :: t ( 'models/user-node' , 'SYNCED' ) , self :: STATUS_LOGGEDOUT => Yii :: t ( 'models/user-node' , 'LOGGEDOUT' ) , self :: STATUS_WIPED => Yii :: t ( 'models/user-node' , 'WIPED' ) , self :: STATUS_POWEROFF => Yii :: t ( 'models/user-node' , 'POWEROFF' ) , self :: STATUS_PAUSED => Yii :: t ( 'models/user-node' , 'PAUSED' ) , self :: STATUS_INDEXING => Yii :: t ( 'models/user-node' , 'INDEXING' ) , ] ; }
returns list of statuses in array
 @return array
returns list of statuses in array @return array