src/Titon/Db/Driver/Dialect/AbstractDialect.php
public function formatTableOptions(array $options) {
        $output = [];

        foreach ($this->formatAttributes($options) as $key => $value) {
            if ($this->hasClause($key)) {
                $option = sprintf($this->getClause($key), $value);

            } else {
                $option = $this->getKeyword($key);

                if ($value !== true) {
                    $option .= ' ' . $value;
                }
            }

            $output[] = $option;
        }

        return implode(' ', $output);
    }
public function formatTableOptions(array $options) {
        $output = [];

        foreach ($this->formatAttributes($options) as $key => $value) {
            if ($this->hasClause($key)) {
                $option = sprintf($this->getClause($key), $value);

            } else {
                $option = $this->getKeyword($key);

                if ($value !== true) {
                    $option .= ' ' . $value;
                }
            }

            $output[] = $option;
        }

        return implode(' ', $output);
    }
public function formatTableOptions ( array $ options ) { $ output = [ ] ; foreach ( $ this -> formatAttributes ( $ options ) as $ key => $ value ) { if ( $ this -> hasClause ( $ key ) ) { $ option = sprintf ( $ this -> getClause ( $ key ) , $ value ) ; } else { $ option = $ this -> getKeyword ( $ key ) ; if ( $ value !== true ) { $ option .= ' ' . $ value ; } } $ output [ ] = $ option ; } return implode ( ' ' , $ output ) ; }
Format the table options for a create table statement.

@param array $options
@return string
Format the table options for a create table statement .