<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.6 |
+ | CiviCRM version 4.7 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014 |
+ | Copyright CiviCRM LLC (c) 2004-2015 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
-*/
+ */
/**
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2014
- * $Id$
- *
+ * @copyright CiviCRM LLC (c) 2004-2015
*/
class CRM_Contact_Page_View_Log extends CRM_Core_Page {
/**
- * called when action is browse
+ * Called when action is browse.
*
* @return null
*/
$this->assign('instanceUrl',
CRM_Utils_System::url("civicrm/report/instance/{$loggingReport}",
"reset=1&force=1&snippet=4§ion=2&altered_contact_id_op=eq&altered_contact_id_value={$this->_contactId}&cid={$this->_contactId}", FALSE, NULL, FALSE));
- return;
+ return NULL;
}
$log = new CRM_Core_DAO_Log();
}
$this->assign('logCount', count($logEntries));
+ $this->ajaxResponse['tabCount'] = count($logEntries);
+ $this->ajaxResponse += CRM_Contact_Form_Inline::renderFooter($this->_contactId, FALSE);
$this->assign_by_ref('log', $logEntries);
}
return parent::run();
}
+
}