PHP Class Horde_Db_Adapter_Base_Index, horde

Author: Mike Naberezny ([email protected])
Author: Derek DeVries ([email protected])
Author: Chuck Hagenbuch ([email protected])
Afficher le fichier Open project: horde/horde

Méthodes publiques

Свойство 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

Méthodes publiques

Méthode 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 méthode

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 méthode

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

getName() public méthode

public getName ( ) : string
Résultat string

Property Details

$columns public_oe property

The columns this index covers.
public array $columns
Résultat array

$name public_oe property

The index's name.
public string $name
Résultat string

$primary public_oe property

Is this a primary key?
public bool $primary
Résultat boolean

$table public_oe property

The table the index is on.
public string $table
Résultat string

$unique public_oe property

public $unique