Merge branch 4.5 into 4.6
[civicrm-core.git] / CRM / Utils / Wrapper.php
index 956215b234f73622f0036687b1ae31ffb822e899..9e9d5f5087657017637c77031d6fcda601fc7c8f 100644 (file)
@@ -23,7 +23,7 @@
  | GNU Affero General Public License or the licensing of CiviCRM,     |
  | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
  +--------------------------------------------------------------------+
-*/
+ */
 
 /**
  * The Contact Wrapper is a wrapper class which is called by
@@ -40,7 +40,7 @@
 class CRM_Utils_Wrapper {
 
   /**
-   * Simple Controller
+   * Simple Controller.
    *
    * The controller which will handle the display and processing of this page.
    */
@@ -52,11 +52,12 @@ class CRM_Utils_Wrapper {
    * The heart of the callback processing is done by this method.
    * forms are of different type and have different operations.
    *
-   * @param string formName name of the form processing this action
-   * @param string formLabel label for the above form
-   * @param int mode mode of operation.
-   * @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 string $formName name of the form processing this action
+   * @param string $formLabel label for the above form
+   * @param array $arguments
+   *  - int mode: mode of operation.
+   *  - bool addSequence: should we add a unique sequence number to the end of the key
+   *  - bool ignoreKey: should we not set a qfKey for this controller (for standalone forms)
    *
    * @return void
    */
@@ -113,4 +114,5 @@ class CRM_Utils_Wrapper {
     $this->_controller->process();
     return $this->_controller->run();
   }
+
 }