Merge pull request #4621 from atif-shaikh/CRM-15589
[civicrm-core.git] / CRM / Core / Controller / Simple.php
index 495af0204f9ddc47f4bebefeecee2d74402bcd22..2536aa324f2b06e13434cab988a50915cc5c2c17 100644 (file)
@@ -1,9 +1,9 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
+ | CiviCRM version 4.5                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
+ | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
@@ -32,7 +32,7 @@
  * process
  *
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
+ * @copyright CiviCRM LLC (c) 2004-2014
  * $Id$
  *
  */
@@ -41,13 +41,16 @@ class CRM_Core_Controller_Simple extends CRM_Core_Controller {
   /**
    * constructor
    *
+   * @param null $path
+   * @param bool $title
    * @param string  path        the class Path of the form being implemented
-   * @param string  title       the descriptive name for the page
-   * @param int     mode        the mode that the form will operate on
-   * @param boolean addSequence should we add a unique sequence number to the end of the key
-   * @param boolean ignoreKey    should we not set a qfKey for this controller (for standalone forms)
+   * @param bool $imageUpload
+   * @param bool $addSequence should we add a unique sequence number to the end of the key
+   * @param bool $ignoreKey should we not set a qfKey for this controller (for standalone forms)
+   * @param bool $attachUpload
    *
-   * @return object
+   *
+   * @return \CRM_Core_Controller_Simple
    * @access public
    */
   function __construct(
@@ -104,10 +107,16 @@ class CRM_Core_Controller_Simple extends CRM_Core_Controller {
     }
   }
 
+  /**
+   * @param $parent
+   */
   public function setParent($parent) {
     $this->_parent = $parent;
   }
 
+  /**
+   * @return mixed
+   */
   public function getTemplateFileName() {
     // there is only one form here, so should be quite easy
     $actionName = $this->getActionName();