Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Front_Model_Noticias extends Tritoq_Model
- {
- //put your code here
- public function listarModel ()
- {
- $data = array(0,1,2,3);
- return $data;
- }
- }
- $model = new Front_Model_Noticias();
- $data = $model->listar();
- echo $model->listar('index/noticias.phtml');
Add Comment
Please, Sign In to add comment