1
0
mirror of synced 2024-12-13 14:56:01 +03:00
This commit is contained in:
romanb 2007-12-11 15:25:56 +00:00
parent 2717408be8
commit 532dea0dd2

View File

@ -1065,6 +1065,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
* *