public function defineTabs() { parent::defineTabs(); if ($this->objectID > 0) { $this->tabs[] = array("label" => "Endereços/Contatos", "icon" => "ls-ico-book", "url" => "#enderecos", "selected" => false); } }
function __construct($id = -1) { parent::__construct($id); $this->pageTitle = "Nacionalidades"; $this->pageTitleIcon = "fa fa-globe"; }
function __construct($id = -1) { parent::__construct($id); $this->pageTitle = "Estado cívil"; $this->pageTitleIcon = "fa fa-balance-scale"; }
function __construct($id = -1) { parent::__construct($id); $this->pageTitle = "Produtos / Serviços"; $this->pageTitleIcon = "fa fa-barcode"; }
function __construct($id = -1) { parent::__construct($id); $this->pageTitle = "Idiomas"; $this->pageTitleIcon = "fa fa-language"; }
function __construct($id = -1) { parent::__construct($id); $this->pageTitle = "Funções"; $this->pageTitleIcon = "fa fa-wrench"; }
public function getAsyncSearch($fieldname = '', $fieldvalue = '') { switch ($fieldname) { case "sexo": $this->load->model("sexo_model"); $opt = array(); foreach ($this->sexo_model->getObjects() as $index => $sexInfo) { $opt[] = array("label" => $sexInfo['nome'], "value" => $sexInfo['id']); } SystemHelper::addCombobox(array('name' => 'search_value[]', 'value' => $fieldvalue, 'options' => $opt)); break; case "perfil": $this->load->model("profiletype_model"); $opt = array(); foreach ($this->profiletype_model->getObjects() as $index => $profileInfo) { $opt[] = array("label" => $profileInfo['nome'], "value" => $profileInfo['id']); } SystemHelper::addCombobox(array('name' => 'search_value[]', 'value' => $fieldvalue, 'options' => $opt)); break; case "status": $this->load->model("castingstatus_model"); $opt = array(); foreach ($this->castingstatus_model->getObjects() as $index => $statusInfo) { $opt[] = array("label" => $statusInfo['nome'], "value" => $statusInfo['id']); } SystemHelper::addCombobox(array('name' => 'search_value[]', 'value' => $fieldvalue, 'options' => $opt)); break; case "cor_cabelo": $this->load->model("haircolor_model"); $opt = array(); foreach ($this->haircolor_model->getObjects() as $index => $hairInfo) { $opt[] = array("label" => $hairInfo['nome'], "value" => $hairInfo['id']); } SystemHelper::addCombobox(array('name' => 'search_value[]', 'value' => $fieldvalue, 'options' => $opt)); break; case "cor_pele": $this->load->model("skincolor_model"); $opt = array(); foreach ($this->skincolor_model->getObjects() as $index => $skinInfo) { $opt[] = array("label" => $skinInfo['nome'], "value" => $skinInfo['id']); } SystemHelper::addCombobox(array('name' => 'search_value[]', 'value' => $fieldvalue, 'options' => $opt)); break; default: parent::getAsyncSearch($fieldname, $fieldvalue); break; } }
public function processRemove($id = -1) { parent::processRemove($id); SystemHelper::preventPopupRefreshPage(); }
function __construct($id = -1) { parent::__construct($id); }
function __construct($id = -1) { parent::__construct($id); $this->pageTitle = "Usuários"; $this->pageTitleIcon = "fa fa-users"; }
function __construct($id = -1) { parent::__construct($id); $this->pageTitle = "Perfis"; $this->pageTitleIcon = "fa fa-street-view"; }
function __construct($id = -1) { parent::__construct($id); $this->pageTitle = "Cabelos (Cores)"; $this->pageTitleIcon = "fa fa-hand-scissors-o"; }
function __construct($id = -1) { parent::__construct($id); $this->pageTitle = "Backups"; $this->pageTitleIcon = "fa fa-download"; }
function __construct($id = -1) { parent::__construct($id); $this->pageTitle = "Olhos (Cores)"; $this->pageTitleIcon = "fa fa-eye"; }
function __construct($id = -1) { parent::__construct($id); $this->pageTitle = "Etnias"; $this->pageTitleIcon = "ls-ico-users"; }
public function defineTabs() { parent::defineTabs(); $this->tabs[] = array("label" => "Efetivo", "icon" => "ls-ico-users", "url" => "#efetivo", "selected" => false); $this->tabs[] = array("label" => "Produtos / Serviços", "icon" => "ls-ico-pencil", "url" => "#produtos_servicos", "selected" => false); }