protected function buildMapperPrimaryKeys()
    {

        $fields = array();

        foreach ($this->columns as $column) {
            if ($column->isPrimaryKey()) {
                $fields[] = "        '" . $column->getName() . "'";
            }
        }

        $this->vars['db_primary_keys'] = implode(",\n", $fields);
    }
protected function buildMapperPrimaryKeys()
    {

        $fields = array();

        foreach ($this->columns as $column) {
            if ($column->isPrimaryKey()) {
                $fields[] = "        '" . $column->getName() . "'";
            }
        }

        $this->vars['db_primary_keys'] = implode(",\n", $fields);
    }
protected function buildMapperPrimaryKeys ( ) { $ fields = array ( ) ; foreach ( $ this -> columns as $ column ) { if ( $ column -> isPrimaryKey ( ) ) { $ fields [ ] = "        '" . $ column -> getName ( ) . "'" ; } } $ this -> vars [ 'db_primary_keys' ] = implode ( ",\n" , $ fields ) ; }
Build primary keys var

@return void
Build primary keys var