This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Dec 22nd, 2011  |  syntax: PHP  |  size: 0.27 KB  |  views: 123  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1.   public function create_user($values, $expected)
  2.   {
  3.     // Validation for passwords
  4.     $extra_validation = Model_User::get_password_validation($values)
  5.       ->rule('password', 'not_empty');
  6.  
  7.     return $this->values($values, $expected)->create($extra_validation);
  8.   }
clone this paste RAW Paste Data