Created
June 25, 2014 11:47
-
-
Save ricardofiorani/791e96712b70fce98e4e to your computer and use it in GitHub Desktop.
SiteController.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function control_quem_somos() { | |
$sobre = $this->listar('tbl_sobre', '', 1, 4)->registros; | |
$this->renderizar('quem-somos', array( | |
'sobre' => $sobre, | |
)); | |
} | |
public function control_about_us(){ | |
return $this->control_quem_somos(); | |
} | |
public function ver_pagina($id){ | |
... | |
... | |
... | |
} | |
public function view_page($id){ | |
//Nunca esquecer que se o control em pt-br tiver parametros, passa-los aqui também | |
return $this->ver_pagina($id); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment