Man Page: pdostatement.fetchobject
Operating Environment: php
Section: 3
PDOSTATEMENT.FETCHOBJECT(3) 1 PDOSTATEMENT.FETCHOBJECT(3) PDOStatement::fetchObject - Fetches the next row and returns it as an object.SYNOPSISpublic mixed PDOStatement::fetchObject ([string $class_name = "stdClass"], [array $ctor_args])DESCRIPTIONFetches the next row and returns it as an object. This function is an alternative to PDOStatement.fetch(3) with PDO::FETCH_CLASS or PDO::FETCH_OBJ style.PARAMETERSo $class_name - Name of the created class. o $ctor_args - Elements of this array are passed to the constructor.RETURN VALUESReturns an instance of the required class with property names that correspond to the column names or FALSE on failure.SEE ALSOPDOStatement.fetch(3). PHP Documentation Group PDOSTATEMENT.FETCHOBJECT(3)
| Related Man Pages |
|---|
| pdostatement.fetch(3) - php |
| pdostatement.fetchall(3) - php |
| pdostatement(3) - php |
| pdostatement.bindparam(3) - php |
| pdostatement.bindvalue(3) - php |