X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FMailing%2FPage%2FReport.php;h=324a9728165e720a851d5a1302f353a30e06a179;hb=03298d98322f2da05e2ab30cb0e2d5b90df47ab3;hp=eb4e82bd41da9c113060f21b3204694d38c41fcb;hpb=c90a093af5607c80a76a7af50f76d2c1d5bf4f37;p=civicrm-core.git diff --git a/CRM/Mailing/Page/Report.php b/CRM/Mailing/Page/Report.php index eb4e82bd41..324a972816 100644 --- a/CRM/Mailing/Page/Report.php +++ b/CRM/Mailing/Page/Report.php @@ -49,14 +49,23 @@ class CRM_Mailing_Page_Report extends CRM_Core_Page_Basic { return 'CRM_Mailing_BAO_Mailing'; } + /** + * @return null + */ function &links() { return CRM_Core_DAO::$_nullObject; } + /** + * @return null + */ function editForm() { return NULL; } + /** + * @return string + */ function editName() { return 'CiviMail Report'; } @@ -64,16 +73,26 @@ class CRM_Mailing_Page_Report extends CRM_Core_Page_Basic { /** * Get user context. * + * @param null $mode + * * @return string user context. */ function userContext($mode = NULL) { return 'civicrm/mailing/report'; } + /** + * @param null $mode + * + * @return string + */ function userContextParams($mode = NULL) { return 'reset=1&mid=' . $this->_mailing_id; } + /** + * @return string + */ function run() { $this->_mailing_id = CRM_Utils_Request::retrieve('mid', 'Positive', $this);