private function getStoredPassword($username)
    {
        // Get table object
        $db = $this->app->db->reset()->table($this->table);

        // Find user by username column
        $user = $db->select($this->passwordColumn)->limit(1)->where($this->usernameColumn, $username)->getOne();

        // Abort if the user or the password column do not exist
        if (!is_array($user) || !isset($user[$this->passwordColumn])) {
            return false;
        }

        // Return password column
        return $user[$this->passwordColumn];
    }
private function getStoredPassword($username)
    {
        // Get table object
        $db = $this->app->db->reset()->table($this->table);

        // Find user by username column
        $user = $db->select($this->passwordColumn)->limit(1)->where($this->usernameColumn, $username)->getOne();

        // Abort if the user or the password column do not exist
        if (!is_array($user) || !isset($user[$this->passwordColumn])) {
            return false;
        }

        // Return password column
        return $user[$this->passwordColumn];
    }
private function getStoredPassword ( $ username ) { // Get table object $ db = $ this -> app -> db -> reset ( ) -> table ( $ this -> table ) ; // Find user by username column $ user = $ db -> select ( $ this -> passwordColumn ) -> limit ( 1 ) -> where ( $ this -> usernameColumn , $ username ) -> getOne ( ) ; // Abort if the user or the password column do not exist if ( ! is_array ( $ user ) || ! isset ( $ user [ $ this -> passwordColumn ] ) ) { return false ; } // Return password column return $ user [ $ this -> passwordColumn ] ; }
Gets an stored password for a user

@param string $username Username
@return mixed User password, of false if the user does not exist
Gets an stored password for a user