Commit 532dea0d authored by romanb's avatar romanb

Fixed #662

parent 2717408b
...@@ -1064,6 +1064,15 @@ class Doctrine_Table extends Doctrine_Configurable implements Countable ...@@ -1064,6 +1064,15 @@ class Doctrine_Table extends Doctrine_Configurable implements Countable
{ {
return isset($this->_columns[$columnName]); return isset($this->_columns[$columnName]);
} }
/**
* hasField
* @return boolean
*/
public function hasField($fieldName)
{
return isset($this->_columnNames[$fieldName]);
}
/** /**
* sets the connection for this class * sets the connection for this class
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment