public static function getRoles()
    {
        return [
            self::ROLE_MEMBER => Yii::t('podium/view', 'Member'),
            self::ROLE_MODERATOR => Yii::t('podium/view', 'Moderator'),
            self::ROLE_ADMIN => Yii::t('podium/view', 'Admin'),
        ];
    }
public static function getRoles()
    {
        return [
            self::ROLE_MEMBER => Yii::t('podium/view', 'Member'),
            self::ROLE_MODERATOR => Yii::t('podium/view', 'Moderator'),
            self::ROLE_ADMIN => Yii::t('podium/view', 'Admin'),
        ];
    }
public static function getRoles ( ) { return [ self :: ROLE_MEMBER => Yii :: t ( 'podium/view' , 'Member' ) , self :: ROLE_MODERATOR => Yii :: t ( 'podium/view' , 'Moderator' ) , self :: ROLE_ADMIN => Yii :: t ( 'podium/view' , 'Admin' ) , ] ; }
Returns list of roles.
@return array
Returns list of roles .