DboSource::renameColumn PHP Method

renameColumn() public method

カラム名を変更する
public renameColumn ( array $options ) : boolean
$options array [ table / new / old ]
return boolean
    public function renameColumn($options)
    {
        extract($options);
        if (!isset($table) || !isset($new) || !isset($old)) {
            return false;
        }
        $column['name'] = $new;
        $options = array('field' => $old, 'table' => $table, 'column' => $column);
        return $this->changeColumn($options);
    }
DboSource