Fixed #662
This commit is contained in:
parent
2717408be8
commit
532dea0dd2
@ -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
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user