Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.45 KB | None | 0 0
  1. class EmailForm extends BaseEmailForm
  2. {
  3.   public function configure()
  4.   {
  5.     unset($this['pessoa_id']);
  6.   }
  7. }
  8.  
  9.  
  10. class PessoaForm extends BasePessoaForm
  11. {
  12.   public function configure()
  13.   {        
  14.     $this->embedDynamicRelation('Email');
  15.  
  16.     unset($this['email_list']);
  17.   }
  18. }
  19.  
  20.  
  21. class PacienteForm extends BasePacienteForm
  22. {
  23.   public function configure()
  24.   {
  25.     $this->embedRelation("Pessoa");
  26.    
  27.     unset($this['pessoa_id']);
  28.   }
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement