Exemplo n.º 1
0
 public function settings(Application_Model_Users $user)
 {
     $data = array('user' => $user->getUser(), 'key' => base64_encode($user->getKey()), 'secret' => base64_encode($user->getSecret()), 'cid' => $user->getCid());
     $this->getDbTable()->update($data, array('user = ?' => $user->getUser()));
 }