Fixed #662
This commit is contained in:
parent
2717408be8
commit
532dea0dd2
1 changed files with 9 additions and 0 deletions
|
@ -1064,6 +1064,15 @@ class Doctrine_Table extends Doctrine_Configurable implements Countable
|
|||
{
|
||||
return isset($this->_columns[$columnName]);
|
||||
}
|
||||
|
||||
/**
|
||||
* hasField
|
||||
* @return boolean
|
||||
*/
|
||||
public function hasField($fieldName)
|
||||
{
|
||||
return isset($this->_columnNames[$fieldName]);
|
||||
}
|
||||
|
||||
/**
|
||||
* sets the connection for this class
|
||||
|
|
Loading…
Add table
Reference in a new issue