Beispiel #1
0
 /**
  * @param boolean $destroy completely destroy the current mask object?
  */
 public function showPrevMask($destroy = false)
 {
     if ($destroy === true) {
         $this->active_mask->destroy();
     } elseif ($this->active_mask->isPopup()) {
         $this->active_mask->isPopup(false);
         $this->_redesign_whole_mask = true;
     }
     if (sizeof($this->masks_history) > 0) {
         $mask_name = array_pop($this->masks_history);
         $this->setActiveMask($mask_name);
     }
 }