<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.5 |
+ | CiviCRM version 4.6 |
+--------------------------------------------------------------------+
| Copyright CiviCRM LLC (c) 2004-2014 |
+--------------------------------------------------------------------+
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
-*/
+ */
/**
*
* @param $message
* @param $title
*/
- function __construct($name, $message, $title) {
+ public function __construct($name, $message, $title) {
$this->name = $name;
$this->message = $message;
$this->title = $title;
/**
* @return string
*/
- function getName() {
+ public function getName() {
return $this->name;
}
/**
* @return string
*/
- function getMessage() {
+ public function getMessage() {
return $this->message;
}
/**
* @return array
*/
- function toArray() {
+ public function toArray() {
return array(
'name' => $this->name,
'message' => $this->message,
'title' => $this->title,
);
}
+
}