/**
  * Adds some common data to the view. this function must be manually called once
  * we've set up a view.
  *
  * @param copyFormValues
  * @see Action::setCommonData()
  */
 function setCommonData($copyFormValues = false)
 {
     parent::setCommonData($copyFormValues);
     // initialiaze plugins
     $this->_pm->setBlogInfo($this->_blogInfo);
     $this->_pm->setUserInfo($this->_userInfo);
     $this->_pm->getPlugins();
     $this->_view->setValue("user", $this->_userInfo);
     $this->_view->setValue("userBlogs", $this->_userBlogs);
     $this->_view->setUserInfo($this->_userInfo);
     $this->_view->setValue("blog", $this->_blogInfo);
     $this->_view->setValue("blogsettings", $this->_blogInfo->getSettings());
     $this->_view->setValue("op", $this->_actionInfo->_actionParamValue);
     $this->_view->setValue("locale", $this->_locale);
     $this->_view->setValue("config", $this->_config);
 }
 /**
  * Common things that should be performed by all SummaryAction classes
  */
 function setCommonData($copyFormValues = false)
 {
     parent::setCommonData($copyFormValues);
     $this->_view->setValue("locale", $this->_locale);
 }
 /**
  * Sets some common information (dirty dirty...)
  * @param copyFormValues Whether the values from fields that were registered via
  * Action::registerFieldValidator() and Action::registerField() should be passed back to the view
  * as variables or not. It defaults to 'false' but this parameter is useful in those cases
  * when we would like to force an error to happen (not a validation error) and still keep the
  * form values.
  * @see Action::setCommonData()
  */
 function setCommonData($copyFormValues = false)
 {
     $this->_view->setValue("Year", $this->_session->getValue('Year'));
     $this->_view->setValue("Month", $this->_session->getValue('Month'));
     parent::setCommonData($copyFormValues);
 }