| @@ -19,7 +19,7 @@ discard block | ||
| 19 | 19 |  		$this->setClass("panel-group"); | 
| 20 | 20 |  		$this->setRole("tablist"); | 
| 21 | 21 |  		$this->setProperty("aria-multiselectable", "true"); | 
| 22 | - $this->content=array (); | |
| 22 | + $this->content=array(); | |
| 23 | 23 | } | 
| 24 | 24 | |
| 25 | 25 |  	public function addPanel($title, $content) { | 
| @@ -46,8 +46,8 @@ discard block | ||
| 46 | 46 | * @param string $action a Phalcon action | 
| 47 | 47 | * @param $params The parameters to pass to the view | 
| 48 | 48 | */ | 
| 49 | -	public function renderContentPanel($title,$initialController,$view, $controller, $action, $params=NULL) { | |
| 50 | - return $this->addPanel($title, $initialController->jquery->renderContent($view, $controller, $action,$params)); | |
| 49 | +	public function renderContentPanel($title, $initialController, $view, $controller, $action, $params=NULL) { | |
| 50 | + return $this->addPanel($title, $initialController->jquery->renderContent($view, $controller, $action, $params)); | |
| 51 | 51 | } | 
| 52 | 52 | |
| 53 | 53 | /** | 
| @@ -57,12 +57,12 @@ discard block | ||
| 57 | 57 | * @param string $controller a Phalcon controller | 
| 58 | 58 | * @param string $action a Phalcon action | 
| 59 | 59 | */ | 
| 60 | -	public function forwardPanel($title,$initialController,$controller,$action){ | |
| 60 | +	public function forwardPanel($title, $initialController, $controller, $action) { | |
| 61 | 61 | return $this->addPanel($title, $initialController->jquery->forward($initialController, $controller, $action)); | 
| 62 | 62 | } | 
| 63 | 63 | |
| 64 | 64 |  	public function run(JsUtils $js) { | 
| 65 | -		foreach ( $this->content as $content ) { | |
| 65 | +		foreach ($this->content as $content) { | |
| 66 | 66 | $content->run($js); | 
| 67 | 67 | } | 
| 68 | 68 | } | 
| @@ -91,12 +91,12 @@ | ||
| 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(""); |