Zend\Db\Adapter\Driver\Pdo\Statement
Synopsis
class Statement
implements
StatementInterface,ProfilerAwareInterface
{
- // members
- protected PDO $pdo;
- protected ProfilerInterface $profiler;
- protected Pdo $driver;
- protected string $sql;
- protected bool $isQuery;
- protected ParameterContainer $parameterContainer;
- protected bool $parametersBound;
- protected PDOStatement $resource;
- protected bool $isPrepared;
- // methods
- public Statement setDriver()
- public Statement setProfiler()
- public ProfilerInterface getProfiler()
- public Statement initialize()
- public Statement setResource()
- public mixed getResource()
- public Statement setSql()
- public string getSql()
- public Statement setParameterContainer()
- public ParameterContainer getParameterContainer()
- public void prepare()
- public bool isPrepared()
- public Result execute()
- protected void bindParametersFromContainer()
- public Statement __clone()
Hierarchy
Implements
Members
protected
- $driver — Zend\Db\Adapter\Driver\Pdo\Pdo
- $isPrepared — Zend\Db\Adapter\Driver\Pdo\bool
- $isQuery — Zend\Db\Adapter\Driver\Pdo\bool
- $parameterContainer — Zend\Db\Adapter\ParameterContainer
- $parametersBound — Zend\Db\Adapter\Driver\Pdo\bool
- $pdo — \PDO
- $profiler — Zend\Db\Adapter\Driver\Pdo\Profiler\ProfilerInterface
- $resource — \PDOStatement
- $sql — string
Methods
protected
- bindParametersFromContainer() — Bind parameters from container
public
- __clone() — Perform a deep clone
- execute()
- getParameterContainer()
- getProfiler()
- getResource() — Get resource
- getSql() — Get sql
- initialize() — Initialize
- isPrepared()
- prepare()
- setDriver() — Set driver
- setParameterContainer()
- setProfiler()
- setResource() — Set resource
- setSql() — Set sql