Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- class InscricoesController extends AppController {
- public $name = 'Inscricoes';
- public $uses = array('Inscricao');
- public function inscrever() {
- // carrega a view /views/inscricoes/escrever.ctp
- if(!empty($this->data())){
- $this->Inscricao->save($this->data);
- }
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement