Avatar

BBCode Test (syntax highlighting) (Features)

by Alex ⌂, Wednesday, April 11, 2007, 13:31 (6225 days ago) @ Alex

/**
 * return a reference to a registered object
 */
function &get_registered_object($name) {
   if (!isset($this->_reg_objects[$name]))
   $this->_trigger_fatal_error("'$name' is not a registered object");
   if (!is_object($this->_reg_objects[$name][0]))
   $this->_trigger_fatal_error("registered '$name' is not an object");
   return $this->_reg_objects[$name][0];
}
locked
23262 views

Complete thread:

 RSS Feed of thread