common/models/UserFiles.php
/**
     * returns list of TTL in array
     * @return array
     */
returns list of TTL in array
@return array
returns list of TTL in array @return array
public static function ttlLabels()
    {
        return [
            self::TTL_WITHOUTEXPIRY => Yii::t('models/user-files', 'TTL_WITHOUTEXPIRY'),
            self::TTL_IMMEDIATELY   => Yii::t('models/user-files', 'TTL_IMMEDIATELY'),
            self::TTL_1DAY          => Yii::t('models/user-files', 'TTL_1DAY'),
            self::TTL_3DAYS         => Yii::t('models/user-files', 'TTL_3DAYS'),
        ];
    }
public static function ttlLabels ( ) { return [ self :: TTL_WITHOUTEXPIRY => Yii :: t ( 'models/user-files' , 'TTL_WITHOUTEXPIRY' ) , self :: TTL_IMMEDIATELY => Yii :: t ( 'models/user-files' , 'TTL_IMMEDIATELY' ) , self :: TTL_1DAY => Yii :: t ( 'models/user-files' , 'TTL_1DAY' ) , self :: TTL_3DAYS => Yii :: t ( 'models/user-files' , 'TTL_3DAYS' ) , ] ; }
returns list of TTL in array
 @return array
returns list of TTL in array @return array
//self::TTL_3HOURS        => Yii::t('models/user-files', 'TTL_3HOURS'), //self::TTL_12HOURS       => Yii::t('models/user-files', 'TTL_12HOURS'), //self::TTL_5DAYS         => Yii::t('models/user-files', 'TTL_5DAYS'), //self::TTL_10DAYS        => Yii::t('models/user-files', 'TTL_10DAYS'), //self::TTL_1MONTH        => Yii::t('models/user-files', 'TTL_1MONTH'),