public function __construct($item, $noticia, $usuario) { parent::__construct(); $this->item = $item; $this->noticia = $noticia; $this->usuario = $usuario; }
public function __construct($id = -1, $login = "") { parent::__construct(); $this->setCdg($id); $this->setLogin($login); $this->carregar_dados(); }
public function __construct($login = '', $senha = '', $imagem_padrao = '') { parent::__construct(); $this->imagem_padrao = $imagem_padrao; $this->login = strtoupper(trim($login)); $this->senha = strtoupper(trim($senha)); }
public function __construct($id, $login = "") { parent::__construct(); $this->cdg = $id; $this->login = $login; $this->carregar_dados(); }
public function __construct($item_cdg = -1, $noticia_cdg = -1) { parent::__construct(); $this->total_atual = 0; $this->noticia = isset($noticia_cdg) ? $noticia_cdg : -1; $this->item = isset($item_cdg) ? $item_cdg : -1; //if($this->comentario_cdg != -1) // $this->carregar_comentario_noticia(); }
public function __construct($bairro_cdg = null, $bairro_url = null) { parent::__construct($bairro_cdg, 1); $this->carregado = false; $this->bairro_cdg = isset($bairro_cdg) ? $bairro_cdg : -1; $this->url_solicitada = isset($bairro_url) ? $bairro_url : '-1'; if ($this->bairro_cdg != -1 || $this->url_solicitada != '-1') { $this->carregar_bairro(); } }
public function __construct($cat_cdg = null, $cat_url = null) { parent::__construct($cat_cdg, 1); $this->carregado = false; $this->cat_cdg = isset($cat_cdg) ? $cat_cdg : -1; $this->item_url_solicitada = isset($cat_url) ? $cat_url : '-1'; if ($this->cat_cdg != -1 || $this->cat_url_solicitada != '-1') { $this->carregar_cat(); } }
public function __construct($item_cdg = null, $item_url = null) { parent::__construct(); $this->dbaux = new Mysql(); $this->carregado = false; $this->item_cdg = isset($item_cdg) ? $item_cdg : -1; $this->item_url_solicitada = isset($item_url) ? $item_url : '-1'; if ($this->item_cdg != -1 || $this->item_url_solicitada != '-1') { $this->carregar_item(); } }
public function __construct($noticia_cdg = null, $noticia_url = null) { parent::__construct($noticia_cdg); $this->tags = array(); $this->carregado = false; $this->noticia_url_solicitada = isset($noticia_url) ? $noticia_url : '-1'; $this->noticia_cdg = isset($noticia_cdg) ? $noticia_cdg : -1; if ($this->noticia_cdg != -1 || $this->noticia_url_solicitada != '-1') { $this->carregar_noticia(); } }
public function __construct($login, $serie, $senha = '') { parent::__construct(); $this->turmaatual_cdg = null; $this->serie = strtoupper(trim($serie)); $this->login = strtoupper(trim($login)); // remove espaços extras entre nome e sobrenome $this->login = str_replace(' ', ' ', $this->login); $this->login = str_replace(' ', ' ', $this->login); $this->login = str_replace(' ', ' ', $this->login); // remove os espaços entre a serie e a letra $this->serie = str_replace(' ', '', $this->serie); $this->serie = str_replace(' ', '', $this->serie); $this->serie = str_replace(' ', '', $this->serie); $this->senha = trim($senha); }
public function __construct($aluno_cdg = -1) { parent::__construct(); $aluno_cdg = isset($aluno_cdg) && $aluno_cdg > 0 ? $aluno_cdg : -1; $this->db->Query("SELECT * FROM ALUNO WHERE ALUNO_CDG = " . $aluno_cdg); $this->db->MoveFirst(); if ($this->db->RowCount() > 0) { $row = $this->db->Row(); $this->aluno_cdg = $row->ALUNO_CDG; $this->aluno_senhag = $row->ALUNO_SENHA; $this->aluno_pontuacao = $row->ALUNO_PONTOS; $this->aluno_serie = $row->ALUNO_SERIE; $this->aluno_nivel = $row->ALUNO_NIVEL; $this->aluno_atividadeconcluida = $row->ALUNO_ATIVIDADECONCLUIDA; } else { $this->aluno_cdg = -1; } }
public function __construct($atividade_cdg, $turmaatual) { parent::__construct(); if ($atividade_cdg != -1) { //carregar informações da atividades $this->db->Query(" SELECT ATIVIDADE_VERIFICAACENTO FROM ATIVIDADE " . " WHERE ATIVIDADE_CDG = " . $atividade_cdg); $this->db->MoveFirst(); while (!$this->db->EndOfSeek()) { $row = $this->db->Row(); $this->verifica_acentuacao = $row->ATIVIDADE_VERIFICAACENTO; } // atribui os questao_cdg ao array $this->carregar_cdg_Questoes($atividade_cdg); // adiciona os questaodigitar_cdg ao array somando com os questao_cdg ja adicionados $this->carregar_cdg_QuestoesDigitar($atividade_cdg); } $this->atividade_cdg = $atividade_cdg; $this->turma_atual = $turmaatual; }
public function __construct() { parent::__construct(); }
public function __construct($escola_cdg = -1) { parent::__construct(); }
public function __construct() { parent::__construct(); $this->sql = " SELECT TURMA_CDG,TURMA_CDG id,\n CONCAT(TURMA_SERIE,'º',TURMA_LETRA) AS TURMA_NOME , \n TURMA_ANO, TURMA_SERIE, TURMA_ATIVO, TURMA_ESCOLA,\n TURMA_LETRA, TURMA_PROF,\n USUARIO_NOME AS 'TURMA_PROFESSOR'\n FROM TURMA \n LEFT JOIN USUARIO ON USUARIO_CDG = TURMA_PROF \n WHERE (TURMA_ANO = " . (isset($_SESSION['ANO_DE_CONSULTA']) ? $_SESSION['ANO_DE_CONSULTA'] : '-1') . " ) "; }
function __construct() { parent::__construct(); print "Este é o construtor da SubClasse<br>"; }
public function __construct() { parent::__construct(); $this->db_aux = new MySQL(); }