+--------------------------------------------------------------------+
| CiviCRM version 4.6 |
+--------------------------------------------------------------------+
- | 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
+ * @copyright CiviCRM LLC (c) 2004-2015
* $Id$
*
*/
class CRM_Profile_Page_View extends CRM_Core_Page {
/**
- * The id of the contact
+ * The id of the contact.
*
* @var int
*/
protected $_id;
/**
- * The group id that we are editing
+ * The group id that we are editing.
*
* @var int
*/
* the contact and calls the appropriate type of page to view.
*
* @return void
- * @access public
- *
*/
public function preProcess() {
$this->_id = CRM_Utils_Request::retrieve('id', 'Positive',
);
}
if (CRM_Core_Permission::ufGroupValid($this->_gid,
- CRM_Core_Permission::SEARCH
- )) {
+ CRM_Core_Permission::SEARCH
+ )
+ ) {
$this->assign('listingURL',
CRM_Utils_System::url("civicrm/profile",
"force=1&gid={$gidString}"
* Build the outcome basing on the CRM_Profile_Page_Dynamic's HTML
*
* @return void
- * @access public
- *
*/
public function run() {
$this->preProcess();
}
/**
- * Use the form name to create the tpl file name
+ * Use the form name to create the tpl file name.
*
* @return string
- * @access public
*/
/**
* @return string
* i.e. we dont override
*
* @return string
- * @access public
*/
/**
* @return string
$fileName = $this->checkTemplateFileExists('extra.');
return $fileName ? $fileName : parent::overrideExtraTemplateFileName();
}
-}
+}