src/Titon/Db/Driver/Dialect/AbstractDialect.php
public function formatTablePrimary(array $data) {
        $key = sprintf($this->getClause(self::PRIMARY_KEY), $this->quoteList($data['columns']));

        if ($data['constraint']) {
            $key = sprintf($this->getClause(self::CONSTRAINT), $this->quote($data['constraint'])) . ' ' . $key;
        }

        return $key;
    }
public function formatTablePrimary(array $data) {
        $key = sprintf($this->getClause(self::PRIMARY_KEY), $this->quoteList($data['columns']));

        if ($data['constraint']) {
            $key = sprintf($this->getClause(self::CONSTRAINT), $this->quote($data['constraint'])) . ' ' . $key;
        }

        return $key;
    }
public function formatTablePrimary ( array $ data ) { $ key = sprintf ( $ this -> getClause ( self :: PRIMARY_KEY ) , $ this -> quoteList ( $ data [ 'columns' ] ) ) ; if ( $ data [ 'constraint' ] ) { $ key = sprintf ( $ this -> getClause ( self :: CONSTRAINT ) , $ this -> quote ( $ data [ 'constraint' ] ) ) . ' ' . $ key ; } return $ key ; }
Format a table primary key.

@param array $data
@return string
Format a table primary key .