public function getFromColumn() { return $this->_from_column; }
public function testGuessFromColumn() { $assoc = new ManyToOne(new Table('user', true, $this->phactory)); $assoc->setFromTable(new Table('post', true, $this->phactory)); $this->assertEquals('user_id', $assoc->getFromColumn()); }