function load($identity) { if ($identity == '~') { return $this->data($this->__request->user->data()); } else { if (!is_numeric($identity) && is_string($identity)) { $identity = array('username' => $identity); } return parent::load($identity); } }
function load($identity) { return parent::load(util::packUuid($identity)); }