Back to PhocaDownloadOrdering class

Method getOrderingCategoryArray

public static
getOrderingCategoryArray
()

Method getOrderingCategoryArray - Source code

public static function getOrderingCategoryArray()
{
    $imgOrdering = array(
        1 => Text::_('COM_PHOCADOWNLOAD_ORDERING_ASC'),
        2 => Text::_('COM_PHOCADOWNLOAD_ORDERING_DESC'),
        3 => Text::_('COM_PHOCADOWNLOAD_TITLE_ASC'),
        4 => Text::_('COM_PHOCADOWNLOAD_TITLE_DESC'),
        5 => Text::_('COM_PHOCADOWNLOAD_DATE_ASC'),
        6 => Text::_('COM_PHOCADOWNLOAD_DATE_DESC'),
        //7 => JText::_('COM_PHOCADOWNLOAD_ID_ASC'),
        //8 => JText::_('COM_PHOCADOWNLOAD_ID_DESC'),
        11 => Text::_('COM_PHOCADOWNLOAD_RATING_COUNT_ASC'),
        12 => Text::_('COM_PHOCADOWNLOAD_RATING_COUNT_DESC'),
        13 => Text::_('COM_PHOCADOWNLOAD_AVERAGE_ASC'),
        14 => Text::_('COM_PHOCADOWNLOAD_AVERAGE_DESC'),
        15 => Text::_('COM_PHOCADOWNLOAD_HITS_ASC'),
        16 => Text::_('COM_PHOCADOWNLOAD_HITS_DESC'),
    );
    return $imgOrdering;
}