/**
* @throws Exception
*/
- function __construct() {
+ public function __construct() {
parent::__construct();
$check = CRM_Core_Permission::check('access Contact Dashboard');
* the contact and calls the appropriate type of page to view.
*
* @return void
- * @access public
*/
- function preProcess() {
+ public function preProcess() {
if (!$this->_contactId) {
CRM_Core_Error::fatal(ts('You must be logged in to view this page.'));
}
* Build user dashboard
*
* @return void
- * @access public
*/
- function buildUserDashBoard() {
+ public function buildUserDashBoard() {
//build component selectors
$dashboardElements = array();
$config = CRM_Core_Config::singleton();
*
* @return void
*
- * @access public
*/
- function run() {
+ public function run() {
$this->preProcess();
$this->buildUserDashBoard();
return parent::run();
* @static
*/
static
- function &links() {
+ public function &links() {
if (!(self::$_links)) {
$disableExtra = ts('Are you sure you want to disable this relationship?');
),
);
-
if (CRM_Core_Permission::check('access CiviCRM')) {
self::$_links = array_merge(self::$_links, array(
CRM_Core_Action::DISABLE => array(