Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * this method takes the current $_fields property and makes new object from it
- * this is useful if there is already a result set and you would like to modify the object and use it with the unit of work
- *
- * @access public
- * @return System_Database_Base
- */
- public function makeNew(){
- $class = get_class($this);
- $obj = new $class;
- return $obj->setValue($this->_fields);
- }
Add Comment
Please, Sign In to add comment