Exemplo n.º 1
0
 public function duplicate($old)
 {
     $new = new Application_Model_Cookie();
     $new->setNick($old->getNick());
     $new->setEmail($old->getEmail());
     $new->setDisplayMode($old->getDisplayMode());
     $new->setSaveName($old->getSaveName());
     $new->setPassword($old->getPassword());
     $new->setTwitter($old->getTwitter());
     $new->setFacebook($old->getFacebook());
     $new->setCCEmail($old->getCCEmail());
     $new->setCreated($old->getCreated());
     $new->setUpdated($old->getUpdated());
     return $new;
 }