PHP Class Horde_Db_Adapter_Base_Index, horde

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

Public Properties

Property Type Description
$columns array The columns this index covers.
$name string The index's name.
$primary boolean Is this a primary key?
$table string The table the index is on.
$unique

Public Methods

Method Description
__construct ( string $table, string $name, boolean $primary, boolean $unique, array $columns ) Constructor.
__toString ( ) : string Comma-separated list of the columns in the primary key
getName ( ) : string

Method Details

__construct() public method

Constructor.
public __construct ( string $table, string $name, boolean $primary, boolean $unique, array $columns )
$table string The table the index is on.
$name string The index's name.
$primary boolean Is this a primary key?
$unique boolean Is this a unique index?
$columns array The columns this index covers.

__toString() public method

Comma-separated list of the columns in the primary key
public __toString ( ) : string
return string

getName() public method

public getName ( ) : string
return string

Property Details

$columns public_oe property

The columns this index covers.
public array $columns
return array

$name public_oe property

The index's name.
public string $name
return string

$primary public_oe property

Is this a primary key?
public bool $primary
return boolean

$table public_oe property

The table the index is on.
public string $table
return string

$unique public_oe property

public $unique