Documentation

Table
in package
implements ArrayAccess, IteratorAggregate

Tags
author

Mike Naberezny mike@maintainable.com

author

Derek DeVries derek@maintainable.com

author

Chuck Hagenbuch chuck@horde.org

category

Horde

copyright

2007 Maintainable Software, LLC

copyright

2008-2021 Horde LLC

license

http://www.horde.org/licenses/bsd

subpackage

Adapter

Interfaces, Classes, Traits and Enums

ArrayAccess
IteratorAggregate

Table of Contents

$columns  : mixed
$indexes  : mixed
$name  : string
The table's name.
$primaryKey  : mixed
__construct()  : mixed
Constructor.
__get()  : mixed
__isset()  : mixed
getColumn()  : Column|null
getColumnNames()  : array<string|int, mixed>
getColumns()  : array<string|int, mixed>
getIndexes()  : array<string|int, mixed>
getIndexNames()  : array<string|int, mixed>
getIterator()  : mixed
getName()  : string
getPrimaryKey()  : mixed
offsetExists()  : bool
ArrayAccess: Check if the given offset exists
offsetGet()  : object
ArrayAccess: Return the value for the given offset.
offsetSet()  : mixed
ArrayAccess: Set value for given offset
offsetUnset()  : mixed
ArrayAccess: remove element

Properties

$columns

protected mixed $columns

$indexes

protected mixed $indexes

$name

The table's name.

protected string $name

$primaryKey

protected mixed $primaryKey

Methods

__construct()

Constructor.

public __construct(string $name, mixed $primaryKey, mixed $columns, mixed $indexes) : mixed
Parameters
$name : string

The table's name.

$primaryKey : mixed
$columns : mixed
$indexes : mixed
Return values
mixed

__get()

public __get(mixed $key) : mixed
Parameters
$key : mixed
Return values
mixed

__isset()

public __isset(mixed $key) : mixed
Parameters
$key : mixed
Return values
mixed

getColumn()

public getColumn(mixed $column) : Column|null
Parameters
$column : mixed
Return values
Column|null

getColumnNames()

public getColumnNames() : array<string|int, mixed>
Return values
array<string|int, mixed>

getColumns()

public getColumns() : array<string|int, mixed>
Return values
array<string|int, mixed>

getIndexes()

public getIndexes() : array<string|int, mixed>
Return values
array<string|int, mixed>

getIndexNames()

public getIndexNames() : array<string|int, mixed>
Return values
array<string|int, mixed>

getIterator()

public getIterator() : mixed
Return values
mixed

getName()

public getName() : string
Return values
string

getPrimaryKey()

public getPrimaryKey() : mixed
Return values
mixed

offsetExists()

ArrayAccess: Check if the given offset exists

public offsetExists(int $offset) : bool
Parameters
$offset : int
Return values
bool

offsetGet()

ArrayAccess: Return the value for the given offset.

public offsetGet(int $offset) : object
Parameters
$offset : int
Return values
object

offsetSet()

ArrayAccess: Set value for given offset

public offsetSet(int $offset, mixed $value) : mixed
Parameters
$offset : int
$value : mixed
Return values
mixed

offsetUnset()

ArrayAccess: remove element

public offsetUnset(int $offset) : mixed
Parameters
$offset : int
Return values
mixed

Search results