public function objectSet($clazz)
    {
        $this->execute();
        self::$statement->setFetchMode(PDO::FETCH_CLASS, $clazz);

        return self::$statement->fetchAll();
    }
public function objectSet($clazz)
    {
        $this->execute();
        self::$statement->setFetchMode(PDO::FETCH_CLASS, $clazz);

        return self::$statement->fetchAll();
    }
public function objectSet ( $ clazz ) { $ this -> execute ( ) ; self :: $ statement -> setFetchMode ( PDO :: FETCH_CLASS , $ clazz ) ; return self :: $ statement -> fetchAll ( ) ; }
Return an array containing all the records
@param string $clazz Class name of the model implementation to load
Return an array containing all the records