private function printList($list)
    {
        $result = "";
        $comma = 0;
        for ($i = 0, $_i = count($list); $i < $_i; $i++) {
            $col = $list[$i];
            if ($col->isPrimaryKey()) {
                $result .= ($comma++ ? ',' : '') . $this->getDatabase()->getPlatform()->quoteIdentifier($col->getName());
            }
        }

        return $result;
    }
private function printList($list)
    {
        $result = "";
        $comma = 0;
        for ($i = 0, $_i = count($list); $i < $_i; $i++) {
            $col = $list[$i];
            if ($col->isPrimaryKey()) {
                $result .= ($comma++ ? ',' : '') . $this->getDatabase()->getPlatform()->quoteIdentifier($col->getName());
            }
        }

        return $result;
    }
private function printList ( $ list ) { $ result = "" ; $ comma = 0 ; for ( $ i = 0 , $ _i = count ( $ list ) ; $ i < $ _i ; $ i ++ ) { $ col = $ list [ $ i ] ; if ( $ col -> isPrimaryKey ( ) ) { $ result .= ( $ comma ++ ? ',' : '' ) . $ this -> getDatabase ( ) -> getPlatform ( ) -> quoteIdentifier ( $ col -> getName ( ) ) ; } } return $ result ; }
Returns the elements of the list, separated by commas.

@param array $list

@return A CSV list.
@deprecated Use the Platform::getColumnListDDL() method.
Returns the elements of the list separated by commas .