Completed
Branch master (90089b)
by Jean-Christophe
07:19
created
Ajax/semantic/html/elements/HtmlLabel.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -91,12 +91,12 @@
 block discarded – undo
91 91
 	}
92 92
 
93 93
 	/**
94
-	*  Adds an image
95
-	* @param string $src
96
-	* @param string $alt
97
-	* @param boolean $before
98
-	* @return \Ajax\semantic\html\elements\html5\HtmlImg
99
-	*/
94
+	 *  Adds an image
95
+	 * @param string $src
96
+	 * @param string $alt
97
+	 * @param boolean $before
98
+	 * @return \Ajax\semantic\html\elements\html5\HtmlImg
99
+	 */
100 100
 	public function addImage($src, $alt="", $before=true) {
101 101
 		$img=new HtmlImg("image-" . $this->identifier, $src, $alt);
102 102
 		$img->setClass("");
Please login to merge, or discard this patch.
Ajax/bootstrap/html/HtmlAccordion.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -50,14 +50,14 @@
 block discarded – undo
50 50
 	}
51 51
 
52 52
 		/**
53
-	 * render the content of $controller::$action and set the response to a new panel
54
-	 * @param JsUtils $js
55
-	 * @param string $title The panel title
56
-	 * @param Controller $initialController
57
-	 * @param string $controller a Phalcon controller
58
-	 * @param string $action a Phalcon action
59
-	 * @param array $params
60
-	 */
53
+		 * render the content of $controller::$action and set the response to a new panel
54
+		 * @param JsUtils $js
55
+		 * @param string $title The panel title
56
+		 * @param Controller $initialController
57
+		 * @param string $controller a Phalcon controller
58
+		 * @param string $action a Phalcon action
59
+		 * @param array $params
60
+		 */
61 61
 	public function forwardPanel(JsUtils $js,$title,$initialController,$controller,$action,$params=array()){
62 62
 		return $this->addPanel($title, $js->forward($initialController, $controller, $action,$params));
63 63
 	}
Please login to merge, or discard this patch.
Ajax/JsUtils.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
 	public abstract function forward($initialController,$controller,$action,$params);
69 69
 	/**
70 70
 	 * render the content of an existing view : $viewName and set the response to the modal content
71
- 	 * @param Controller $initialControllerInstance
71
+	 * @param Controller $initialControllerInstance
72 72
 	 * @param View $viewName
73 73
 	 * @param $params The parameters to pass to the view
74 74
 	 */
Please login to merge, or discard this patch.
Ajax/php/symfony/JsUtils.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -48,15 +48,15 @@
 block discarded – undo
48 48
 	}
49 49
 
50 50
 	public function renderContent($initialControllerInstance,$viewName, $params=NULL) {
51
-        if ($initialControllerInstance->has('templating')) {
52
-            return $initialControllerInstance->get('templating')->render($viewName, $params);
53
-        }
51
+		if ($initialControllerInstance->has('templating')) {
52
+			return $initialControllerInstance->get('templating')->render($viewName, $params);
53
+		}
54 54
 
55
-        if (!$initialControllerInstance->has('twig')) {
56
-            throw new \LogicException('You can not use the "renderView" method if the Templating Component or the Twig Bundle are not available.');
57
-        }
55
+		if (!$initialControllerInstance->has('twig')) {
56
+			throw new \LogicException('You can not use the "renderView" method if the Templating Component or the Twig Bundle are not available.');
57
+		}
58 58
 
59
-        return $initialControllerInstance->get('twig')->render($viewName, $params);
59
+		return $initialControllerInstance->get('twig')->render($viewName, $params);
60 60
 	}
61 61
 
62 62
 	public function fromDispatcher($dispatcher){
Please login to merge, or discard this patch.