public function constructFromTable($table, $data)
    {
        $this->_database = $table->getDatabase();
        $this->_table = $table;
        $this->_parseName($data);
        $this->_parseDatatype($data);
        $this->_parseNotnull($data);
        $this->_parseDefault($data);
        $this->_parseAutoIncrement($data);
        $this->_parseComment($data);
    }
public function constructFromTable($table, $data)
    {
        $this->_database = $table->getDatabase();
        $this->_table = $table;
        $this->_parseName($data);
        $this->_parseDatatype($data);
        $this->_parseNotnull($data);
        $this->_parseDefault($data);
        $this->_parseAutoIncrement($data);
        $this->_parseComment($data);
    }
public function constructFromTable ( $ table , $ data ) { $ this -> _database = $ table -> getDatabase ( ) ; $ this -> _table = $ table ; $ this -> _parseName ( $ data ) ; $ this -> _parseDatatype ( $ data ) ; $ this -> _parseNotnull ( $ data ) ; $ this -> _parseDefault ( $ data ) ; $ this -> _parseAutoIncrement ( $ data ) ; $ this -> _parseComment ( $ data ) ; }
Internal method to set up the object from within a \Nada\Table\AbstractTable object

The column data can be of any type and is passed to the _parse*()
methods.

@param \Nada\Table\AbstractTable $table Table that this column belongs to
@param mixed $data Column data
@internal
Internal method to set up the object from within a \ Nada \ Table \ AbstractTable object