INFRA-132 - Change "else if" to "elseif"
[civicrm-core.git] / CRM / Utils / Wrapper.php
index ac8a2201e3b8fe6e152a6970b342ebc4479d325c..a5b1ac963e3d3f1b0befc0071a113798a630a9da 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.5                                                |
+ | CiviCRM version 4.6                                                |
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
@@ -44,7 +44,6 @@ class CRM_Utils_Wrapper {
    *
    * The controller which will handle the display and processing of this page.
    *
-   * @access protected
    */
   protected $_controller;
 
@@ -54,16 +53,15 @@ 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 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 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)
    *
    * @return void.
-   * @access public
    */
-  function run($formName, $formLabel = NULL, $arguments = NULL) {
+  public function run($formName, $formLabel = NULL, $arguments = NULL) {
     if (is_array($arguments)) {
       $mode         = CRM_Utils_Array::value('mode', $arguments);
       $imageUpload  = (bool) CRM_Utils_Array::value('imageUpload', $arguments, FALSE);
@@ -117,4 +115,3 @@ class CRM_Utils_Wrapper {
     return $this->_controller->run();
   }
 }
-