protected function buildMapperFields()
    {
        $fields       = array();
        $dataNamesMap = '';

        foreach ($this->columns as $column) {
            $field    = $column->getName();
            $fields[] = "        '" . $field . "'";
            $dataNamesMap .= "
        '" . $field . "' => array(
            'get'      => '" . $column->getMethodNameGet() . "',
            'set'      => '" . $column->getMethodNameSet() . "',
            'property' => '" . $column->getPropertyName() . "',
        ),";
        }

        $this->vars['db_fields']      = implode(",\n", $fields);
        $this->vars['data_names_map'] = $dataNamesMap;
    }
protected function buildMapperFields()
    {
        $fields       = array();
        $dataNamesMap = '';

        foreach ($this->columns as $column) {
            $field    = $column->getName();
            $fields[] = "        '" . $field . "'";
            $dataNamesMap .= "
        '" . $field . "' => array(
            'get'      => '" . $column->getMethodNameGet() . "',
            'set'      => '" . $column->getMethodNameSet() . "',
            'property' => '" . $column->getPropertyName() . "',
        ),";
        }

        $this->vars['db_fields']      = implode(",\n", $fields);
        $this->vars['data_names_map'] = $dataNamesMap;
    }
protected function buildMapperFields ( ) { $ fields = array ( ) ; $ dataNamesMap = '' ; foreach ( $ this -> columns as $ column ) { $ field = $ column -> getName ( ) ; $ fields [ ] = "        '" . $ field . "'" ; $ dataNamesMap .= "
        '" . $ field . "' => array(
            'get'      => '" . $ column -> getMethodNameGet ( ) . "',
            'set'      => '" . $ column -> getMethodNameSet ( ) . "',
            'property' => '" . $ column -> getPropertyName ( ) . "',
        )," ; } $ this -> vars [ 'db_fields' ] = implode ( ",\n" , $ fields ) ; $ this -> vars [ 'data_names_map' ] = $ dataNamesMap ; }
Build fields var

@return void
Build fields var