Habari\AdminTagsHandler::__construct PHP Method

__construct() public method

public __construct ( )
    public function __construct()
    {
        self::$facets = array(_t('More than .. posts') => 'morethan', _t('Less than .. posts') => 'lessthan', _t('Order by') => 'orderby');
        self::$facet_values = array('orderby' => array(_t('Publication date (descending)') => 'pubdate_desc', _t('Publication date (ascending)') => 'pubdate_asc', _t('Post count (descending)') => 'count_desc', _t('Post count (ascending)') => 'count_asc', _t('Alphabetical (descending)') => 'alphabetical_desc', _t('Alphabetical (ascending)') => 'alphabetical_asc'));
        // We could avoid "translating" for sure, but it adds an additional layer of security, so we keep it
        self::$orderby_translate = array('pubdate' => 'pubdate', 'count' => 'count', 'alphabetical' => 'term_display');
        return parent::__construct();
    }