dbTable::addIndex PHP 메소드

addIndex() 공개 메소드

Adds an index to a table object
public addIndex ( array $attributes ) : object
$attributes array Index attributes
리턴 object dbIndex object
    function addIndex($attributes)
    {
        $name = strtoupper($attributes['NAME']);
        $this->indexes[$name] = new dbIndex($this, $attributes);
        return $this->indexes[$name];
    }