Esempio n. 1
0
 private function _getID($user)
 {
     $h = HOUND::SELECT($this->option('DOB_TABLE_PREFIX') . $this->_props[self::$_P_TABL_NAME], $this->_props[self::$_P_TABL_F_ID]);
     $h->WHERE($this->_props[self::$_P_TABL_F_UID])->equals($this->offuscate($user));
     $r = $h->execute($this->option('DOB_DEBUG'));
     if ($r && $r[0]) {
         return (int) $r[0][$this->_props[self::$_P_TABL_F_ID]];
     }
 }