/** * Fetch by email * @param string $email * @return Ambigous <boolean, mixed> */ public function fetchByEmail($email = null) { if (is_null($email)) { $email = $this->getEmail(); } $email = strtolower(trim($email)); $modelEntry = new Model_Entry(); $result = $modelEntry->selectByEmail($email); return $result; }