DboSource::renameTable PHP Method

renameTable() public method

テーブル名をリネームする
public renameTable ( array $options ) : boolean
$options array [ old / new ]
return boolean
    public function renameTable($options)
    {
        extract($options);
        if (!isset($new) || !isset($old)) {
            return false;
        }
        $new = $this->config['prefix'] . $new;
        $old = $this->config['prefix'] . $old;
        $sql = $this->buildRenameTable($old, $new);
        return $this->execute($sql);
    }
DboSource