| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
-*/
+ */
/**
*
* Second check for visibility
* Call a hook to see if hook wants to override visibility setting
*/
- function checkPermission() {
+ public function checkPermission() {
if (!$this->_mailing) {
return FALSE;
}
*
* @return void
*/
- function run($id = NULL, $contactID = NULL, $print = TRUE, $allowID = FALSE) {
+ public function run($id = NULL, $contactID = NULL, $print = TRUE, $allowID = FALSE) {
if (is_numeric($id)) {
$this->_mailingID = $id;
}
}
else {
//get tokens that are not contact specific resolved
- $params = array('contact_id' => 0);
+ $params = array('contact_id' => 0);
$details = CRM_Utils_Token::getAnonymousTokenDetails($params,
$returnProperties,
TRUE, TRUE, NULL,
return $content;
}
}
-}
+}