Example #1
0
 /**
  * Answer the url to return to
  * 
  * @return string
  * @access public
  * @since 5/19/08
  */
 function getReturnUrl()
 {
     if (isset($this->createdCopy) && $this->createdCopy) {
         $harmoni = Harmoni::instance();
         return SiteDispatcher::quickURL('ui1', 'theme_options', array('wizardSkipToStep' => "advanced"));
     } else {
         return parent::getReturnUrl();
     }
 }
Example #2
0
 /**
  * Answer the url to return to
  * 
  * @return string
  * @access public
  * @since 6/4/07
  */
 function getReturnUrl()
 {
     if (isset($this->_newId)) {
         $harmoni = Harmoni::instance();
         return SiteDispatcher::quickURL('ui1', 'editContent', array('node' => $this->_newId, 'returnAction' => $harmoni->request->get("returnAction"), 'returnNode' => $harmoni->request->get("returnNode")));
     } else {
         return parent::getReturnUrl();
     }
 }