/**
  * Adds object parsed from template to the control.
  * This method adds only {@link TListItem} objects into the {@link getMarkers Markers collection.
  * All other objects are ignored.
  * @param mixed object parsed from template
  */
 public function addParsedObject($object)
 {
     // Do not add items from template if items are loaded from viewstate
     if (!$this->_stateLoaded && $object instanceof IActiveGoogleMapMarker) {
         parent::addParsedObject($object);
     }
 }
 /**
  * Override the parent implementation. 
  * It adds any components that are instance of TWizardStep or TWizardTemplate
  * as a child and body of the TWizard. Other components are handled by the parent. 
  * By adding components as child of TWizard, these component's parent
  * is the TWizard.
  * @param object a component object.
  * @param object the template owner object
  */
 public function addParsedObject($object, $context)
 {
     if ($object instanceof TWizardStep) {
         $object->setVisible(false);
         $this->steps[] = $object;
         $this->addChild($object);
         $this->addBody($object);
     } else {
         if ($object instanceof TWizardTemplate) {
             $object->setVisible(false);
             $this->navigation[$object->Type][] = $object;
             $this->addChild($object);
             $this->addBody($object);
         } else {
             parent::addParsedObject($object, $context);
         }
     }
 }