Overview

Classes

  • Acesso_Controller
  • Base_Controller
  • Boletins_Controller
  • Cadastro_Controller
  • Carrinho_Controller
  • Contato_Controller
  • Empresa_Controller
  • Home_Controller
  • Login_Controller
  • Painel_Controller
  • Produtos_Controller
  • Recuperar_senha_Controller
  • Overview
  • Class
  • Tree

Class Boletins_Controller

Classe Boletins_Controller Responsavel pelo carregamento da página de boletins.

Core_Controller
Extended by Base_Controller
Extended by Boletins_Controller
Author: Ramon Barros <ramon@ezoom.com.br>
Located at boletins.php
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

Base_Controller::__construct()
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/
Methods inherited from Base_Controller
__call(), carousel(), get_categorias(), get_config(), get_estados(), get_produtos_carrinho(), get_user(), mailsend(), opengraph()
Documentação Plenum API documentation generated by ApiGen 2.8.0