Class Boletins_Controller
Classe Boletins_Controller Responsavel pelo carregamento da página de
boletins.
-
Core_Controller
-
Base_Controller
-
Boletins_Controller
Methods summary
public
|
#
__construct( )
Construtor da classe Boletins_Controller Carrega em todos os métodos os
plugins jquery necessários
Construtor da classe Boletins_Controller Carrega em todos os métodos os
plugins jquery necessários
Overrides
|
public
string
|
#
get_index( )
Página principal de boletins
Página principal de boletins
Returns
string Redireciona para o filtro de boletins com a data atual
Url
GET /boletins/
GET /boletins/{index}
|
public
string
|
#
get_filter( string $date = null, string $category = null, string $subcategory = null )
Página dos boletins por data (filtro)
Página dos boletins por data (filtro)
Parameters
- $date
string $date data atual ou data do filtro selecionado
- $category
string $category categoria do boletim selecionada
- $subcategory
string $subcategory subcategoria do boletim selecionada
Returns
string redireciona para o filtro conforme regras ou mostra view de boletins
Url
GET /boletins/filter/{date}/
GET /boletins/filter/{date}/{$category}/
GET /boletins/filter/{date}/{$category}/{$subcategory}
|
public
string
|
#
get_pesquisa( string $filtro = null )
Página de pesquisa dos boletins
Página de pesquisa dos boletins
Parameters
- $filtro
string $filtro filtro da pesquisa contendo data inicio + data final + termo de pesquisa
Returns
string retorna a view da pesquisa dos boletins
Url
GET /boletins/pesquisa/
GET /boletins/pesquisa/{filtro}
|
public
string
|
#
get_detalhes( integer $id = null )
Parameters
- $id
integer $id id do boletim selecionado
Returns
string retorna a view do boletin selecionado
Url
GET /boletins/detalhes/
|