comment fixes
[civicrm-core.git] / CRM / Contact / Page / View / Print.php
index 2ff8ac6aea26380189b34ed409841da379545225..202568ebcb4cc02b743b417a3ccc0de5f4b43a94 100644 (file)
@@ -1,9 +1,9 @@
 <?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
  */
 
 /**
  * Main page for viewing contact.
- *
  */
 class CRM_Contact_Page_View_Print extends CRM_Contact_Page_View_Summary {
 
   /**
-   * Heart of the viewing process. The runner gets all the meta data for
-   * the contact and calls the appropriate type of page to view.
-   *
-   * @return void
-   * @access public
+   * Heart of the viewing process.
    *
+   * The runner gets all the meta data for the contact and calls the appropriate type of page to view.
    */
-  function run() {
+  public function run() {
     $this->_print = CRM_Core_Smarty::PRINT_PAGE;
 
     $this->preProcess();
@@ -58,15 +52,12 @@ class CRM_Contact_Page_View_Print extends CRM_Contact_Page_View_Summary {
   }
 
   /**
-   * View summary details of a contact
-   *
-   * @return void
-   * @access public
+   * View summary details of a contact.
    */
-  function view() {
-    $params   = array();
+  public function view() {
+    $params = array();
     $defaults = array();
-    $ids      = array();
+    $ids = array();
 
     $params['id'] = $params['contact_id'] = $this->_contactId;
     $contact = CRM_Contact_BAO_Contact::retrieve($params, $defaults, $ids);
@@ -75,5 +66,5 @@ class CRM_Contact_Page_View_Print extends CRM_Contact_Page_View_Summary {
 
     return parent::view();
   }
-}
 
+}