PHP Class Horde_Db_Adapter_Base_Table, horde

Author: Mike Naberezny ([email protected])
Author: Derek DeVries ([email protected])
Author: Chuck Hagenbuch ([email protected])
Inheritance: implements ArrayAccess, implements IteratorAggregate
ファイルを表示 Open project: horde/horde

Protected Properties

Property Type Description
$_columns
$_indexes
$_name string The table's name.
$_primaryKey

Public Methods

Method Description
__construct ( string $name, $primaryKey, $columns, $indexes ) Constructor.
__get ( $key ) *########################################################################## # Object composition ##########################################################################
__isset ( $key )
getColumn ( $column ) : Horde_Db_Adapter_Base_Column
getColumnNames ( ) : array
getColumns ( ) : array
getIndexNames ( ) : array
getIndexes ( ) : array
getIterator ( ) *########################################################################## # IteratorAggregate ##########################################################################
getName ( ) : string
getPrimaryKey ( ) : mixed
offsetExists ( integer $offset ) : boolean ArrayAccess: Check if the given offset exists
offsetGet ( integer $offset ) : object ArrayAccess: Return the value for the given offset.
offsetSet ( integer $offset, mixed $value ) ArrayAccess: Set value for given offset
offsetUnset ( integer $offset ) ArrayAccess: remove element

Method Details

__construct() public method

Constructor.
public __construct ( string $name, $primaryKey, $columns, $indexes )
$name string The table's name.

__get() public method

*########################################################################## # Object composition ##########################################################################
public __get ( $key )

__isset() public method

public __isset ( $key )

getColumn() public method

public getColumn ( $column ) : Horde_Db_Adapter_Base_Column
return Horde_Db_Adapter_Base_Column

getColumnNames() public method

public getColumnNames ( ) : array
return array

getColumns() public method

public getColumns ( ) : array
return array

getIndexNames() public method

public getIndexNames ( ) : array
return array

getIndexes() public method

public getIndexes ( ) : array
return array

getIterator() public method

*########################################################################## # IteratorAggregate ##########################################################################
public getIterator ( )

getName() public method

public getName ( ) : string
return string

getPrimaryKey() public method

public getPrimaryKey ( ) : mixed
return mixed

offsetExists() public method

ArrayAccess: Check if the given offset exists
public offsetExists ( integer $offset ) : boolean
$offset integer
return boolean

offsetGet() public method

ArrayAccess: Return the value for the given offset.
public offsetGet ( integer $offset ) : object
$offset integer
return object {@link {@Horde_Db_Adapter_Base_ColumnDefinition}

offsetSet() public method

ArrayAccess: Set value for given offset
public offsetSet ( integer $offset, mixed $value )
$offset integer
$value mixed

offsetUnset() public method

ArrayAccess: remove element
public offsetUnset ( integer $offset )
$offset integer

Property Details

$_columns protected_oe property

protected $_columns

$_indexes protected_oe property

protected $_indexes

$_name protected_oe property

The table's name.
protected string $_name
return string

$_primaryKey protected_oe property

protected $_primaryKey