Exemplo n.º 1
0
 /**
  * Gets an identification text
  * @return string A textual identification of the object 
  * @access private
  */
 function _identification()
 {
     return parent::_identification()." ($this->_left, $this->_top, $this->_right, $this->_bottom)";
 }
Exemplo n.º 2
0
 /**
  * Adds an element to the objects element list, the new Image_Graph_elements parent is automatically set	 
  * @param Image_Graph_Common $element The new Image_Graph_element
  * @return Image_Graph_Common The new Image_Graph_element 
  */
 function &add(& $element)
 {
     $this->_debug("Adding element \"".$element->_identification());
     $this->_elements[] = &$element;
     $element->_setParent($this);
     return $element;
 }