common/models/News.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 statusParams()
    {
        return [
            self::STATUS_BLOCKED => ['name' => 'Unpublished', 'color' => '#BB0202'],
            self::STATUS_ACTIVE  => ['name' => 'Published',    'color' => '#25BB02'],
            self::STATUS_ARCHIVE => ['name' => 'Archival',        'color' => '#CACC01'],
            self::STATUS_HIDDEN  => ['name' => 'Hidden',         'color' => '#7092BE'],
        ];
    }
public static function statusParams ( ) { return [ self :: STATUS_BLOCKED => [ 'name' => 'Unpublished' , 'color' => '#BB0202' ] , self :: STATUS_ACTIVE => [ 'name' => 'Published' , 'color' => '#25BB02' ] , self :: STATUS_ARCHIVE => [ 'name' => 'Archival' , 'color' => '#CACC01' ] , self :: STATUS_HIDDEN => [ 'name' => 'Hidden' , 'color' => '#7092BE' ] , ] ; }
returns list of statuses in array
 @return array
returns list of statuses in array @return array