PhpLight
[ class tree: PhpLight ] [ index: PhpLight ] [ all elements ]

Class: PhpLight_Db_Statement_Mysqli

Source Location: /Db/Statement/Mysqli.php

Class Overview

PhpLight_Db_Statement_Abstract
   |
   --PhpLight_Db_Statement_Mysqli

Mysqli statement


Author(s):

  • Indiana Jones

Version:

  • 1.0

Variables

Methods


Inherited Variables

Inherited Methods

Class: PhpLight_Db_Statement_Abstract

PhpLight_Db_Statement_Abstract::__construct()
Constructor for a statement.
PhpLight_Db_Statement_Abstract::execute()
Executes a prepared statement.
PhpLight_Db_Statement_Abstract::fetch()
Fetch method, always returns the data as an associative array
PhpLight_Db_Statement_Abstract::fetchAll()
Returns an array containing all of the result set rows.
PhpLight_Db_Statement_Abstract::_prepare()
Internal method called by abstract statment constructor to setup the driver level statement

Class Details

[line 18]
Mysqli statement

$Id: Mysqli.php 500 2011-09-12 07:23:27Z indy $

$LastChangedBy: indy $

$LastChangedDate: 2011-09-12 10:23:27 +0300 (Mon, 12 Sep 2011) $

$Rev: 500 $




Tags:

author:  Indiana Jones
version:  1.0


[ Top ]


Class Variables

$_keys =

[line 25]

Column names.



Tags:

access:  protected

Type:   array


[ Top ]

$_meta =  null

[line 37]



Tags:

access:  protected

Type:   array


[ Top ]

$_values =

[line 32]

Fetched result values.



Tags:

access:  protected

Type:   array


[ Top ]



Class Methods


method close [line 60]

bool close( )

Closes the cursor and the statement.



Tags:

access:  public


[ Top ]

method errorCode [line 182]

string errorCode( )

Retrieves the error code, if any, associated with the last operation on the statement handle.



Tags:

return:  error code.
access:  public


[ Top ]

method errorInfo [line 196]

array errorInfo( )

Retrieves an array of error information, if any, associated with the last operation on the statement handle.



Tags:

access:  public


[ Top ]

method fetch [line 147]

array fetch( )

Fetches a row from the result set.



Tags:

throws:  PhpLight_Db_Statement_Exception
access:  public


Overrides PhpLight_Db_Statement_Abstract::fetch() (Fetch method, always returns the data as an associative array)

[ Top ]

method _execute [line 78]

bool _execute( [ $params = array()])

Executes a prepared statement.



Tags:

throws:  PhpLight_Db_Statement_Exception
access:  public


Parameters:

array   $params   Values to bind to parameter placeholders.

[ Top ]

method _prepare [line 44]

void _prepare( string $sql)



Tags:

throws:  PhpLight_Db_Statement_Exception
access:  public


Overrides PhpLight_Db_Statement_Abstract::_prepare() (Internal method called by abstract statment constructor to setup the driver level statement)

Parameters:

string   $sql  

[ Top ]


Documentation generated on Fri, 07 Oct 2011 08:06:19 +0300 by phpDocumentor 1.4.3