<?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 {
static $_commentLinks = NULL;
/**
- * View details of a note
- *
- * @return void
+ * View details of a note.
*/
public function view() {
$note = new CRM_Core_DAO_Note();
}
/**
- * called when action is browse
+ * called when action is browse.
*/
public function browse() {
$note = new CRM_Core_DAO_Note();
}
/**
- * 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);
}
/**
- * 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
}
/**
- * Get action links for comments
+ * Get action links for comments.
*
* @return array
* (reference) of action links