comment fixes
[civicrm-core.git] / CRM / Contact / Page / View / Note.php
index 5a5deeb94953e737a17c113256d253bdaaf838f3..ffc3657c4bc754d4321dae7ca39f8f1ef73ecef1 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.                                    |
  |                                                                    |
 /**
  *
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2014
- * $Id$
- *
+ * @copyright CiviCRM LLC (c) 2004-2015
  */
 
 /**
  * Main page for viewing Notes.
- *
  */
 class CRM_Contact_Page_View_Note extends CRM_Core_Page {
 
@@ -54,9 +51,7 @@ class CRM_Contact_Page_View_Note extends CRM_Core_Page {
   static $_commentLinks = NULL;
 
   /**
-   * View details of a note
-   *
-   * @return void
+   * View details of a note.
    */
   public function view() {
     $note = new CRM_Core_DAO_Note();
@@ -80,7 +75,7 @@ class CRM_Contact_Page_View_Note extends CRM_Core_Page {
   }
 
   /**
-   * called when action is browse
+   * called when action is browse.
    */
   public function browse() {
     $note = new CRM_Core_DAO_Note();
@@ -157,7 +152,7 @@ class CRM_Contact_Page_View_Note extends CRM_Core_Page {
   }
 
   /**
-   * called when action is update or new
+   * called when action is update or new.
    */
   public function edit() {
     $controller = new CRM_Core_Controller_Simple('CRM_Note_Form_Note', ts('Contact Notes'), $this->_action);
@@ -232,16 +227,14 @@ class CRM_Contact_Page_View_Note extends CRM_Core_Page {
   }
 
   /**
-   * Delete the note object from the db
-   *
-   * @return void
+   * Delete the note object from the db.
    */
   public function delete() {
     CRM_Core_BAO_Note::del($this->_id);
   }
 
   /**
-   * Get action links
+   * Get action links.
    *
    * @return array
    *   (reference) of action links
@@ -281,7 +274,7 @@ class CRM_Contact_Page_View_Note extends CRM_Core_Page {
   }
 
   /**
-   * Get action links for comments
+   * Get action links for comments.
    *
    * @return array
    *   (reference) of action links