public function getSortedTemplates()
    {
        $select = new Select('melis_cms_template');
        $select->order('tpl_zf2_website_folder ASC');
        $select->order('tpl_name ASC');

        $resultSet = $this->tableGateway->selectWith($select);


        return $resultSet;
    }
public function getSortedTemplates()
    {
        $select = new Select('melis_cms_template');
        $select->order('tpl_zf2_website_folder ASC');
        $select->order('tpl_name ASC');

        $resultSet = $this->tableGateway->selectWith($select);


        return $resultSet;
    }
public function getSortedTemplates ( ) { $ select = new Select ( 'melis_cms_template' ) ; $ select -> order ( 'tpl_zf2_website_folder ASC' ) ; $ select -> order ( 'tpl_name ASC' ) ; $ resultSet = $ this -> tableGateway -> selectWith ( $ select ) ; return $ resultSet ; }
Retrieves the data from the Template table in alphabetical order
@return NULL|\Zend\Db\ResultSet\ResultSetInterface
Retrieves the data from the Template table in alphabetical order