/** * @see \Tapir\BaseBundle\Controller\BaseController::IniciarVariables() */ function IniciarVariables() { parent::IniciarVariables(); if (!isset($this->Paginar)) { $this->Paginar = true; } if (!isset($this->OrderBy)) { if (\Tapir\BaseBundle\Helper\ClassHelper::UsaTrait($this->CompleteEntityName, 'Tapir\\BaseBundle\\Entity\\ConNombre')) { $this->OrderBy = 'Nombre'; } else { $this->OrderBy = null; } } if (!isset($this->Where)) { $this->Where = null; } if (!isset($this->GroupBy)) { $this->GroupBy = null; } if (!isset($this->Joins)) { $this->Joins = array(); } if (!isset($this->ExtraFields)) { $this->ExtraFields = array(); } if (!isset($this->Limit)) { $this->Limit = null; } if (!isset($this->BuscarPor)) { $this->BuscarPor = 'Nombre'; } }
function IniciarVariables() { parent::IniciarVariables(); // $this->BuscarPor = 'NombreVisible, Username, RazonSocial, DocumentoNumero, Cuilt, Email'; // $this->OrderBy = 'r.NombreVisible'; $this->ConservarVariables[] = 'tipo'; $this->ConservarVariables[] = 'id'; }