@@ -16,8 +16,8 @@ discard block |
||
| 16 | 16 | * @param string $action one of "select","auto","activate","combo","nothing","hide" |
| 17 | 17 | * @return \Ajax\semantic\components\Dropdown |
| 18 | 18 | */ |
| 19 | - public function setAction($action){ |
|
| 20 | - return $this->setParamCtrl("action", $action,array("select","auto","activate","combo","nothing","hide")); |
|
| 19 | + public function setAction($action) { |
|
| 20 | + return $this->setParamCtrl("action", $action, array("select", "auto", "activate", "combo", "nothing", "hide")); |
|
| 21 | 21 | } |
| 22 | 22 | |
| 23 | 23 | /** |
@@ -25,19 +25,19 @@ discard block |
||
| 25 | 25 | * @param string $event Event used to trigger dropdown (Hover, Click, Custom Event) |
| 26 | 26 | * @return \Ajax\semantic\components\Dropdown |
| 27 | 27 | */ |
| 28 | - public function setOn($event){ |
|
| 28 | + public function setOn($event) { |
|
| 29 | 29 | return $this->setParam("on", $event); |
| 30 | 30 | } |
| 31 | 31 | |
| 32 | - public function setFullTextSearch($value){ |
|
| 32 | + public function setFullTextSearch($value) { |
|
| 33 | 33 | return $this->setParam("fullTextSearch", $value); |
| 34 | 34 | } |
| 35 | 35 | |
| 36 | - public function setShowOnFocus($value){ |
|
| 36 | + public function setShowOnFocus($value) { |
|
| 37 | 37 | return $this->setParam("showOnFocus", $value); |
| 38 | 38 | } |
| 39 | 39 | |
| 40 | - public function setAllowAdditions($value){ |
|
| 40 | + public function setAllowAdditions($value) { |
|
| 41 | 41 | return $this->setParam("allowAdditions", $value); |
| 42 | 42 | } |
| 43 | 43 | } |
@@ -37,7 +37,7 @@ discard block |
||
| 37 | 37 | * @return mixed |
| 38 | 38 | */ |
| 39 | 39 | public function getLibraryId() { |
| 40 | - if( isset($this->_libraryId)){ |
|
| 40 | + if (isset($this->_libraryId)) { |
|
| 41 | 41 | return $this->_libraryId; |
| 42 | 42 | } |
| 43 | 43 | return $this->identifier; |
@@ -47,7 +47,7 @@ discard block |
||
| 47 | 47 | * @param mixed $_libraryId |
| 48 | 48 | */ |
| 49 | 49 | public function setLibraryId($_libraryId) { |
| 50 | - $this->_libraryId = $_libraryId; |
|
| 50 | + $this->_libraryId=$_libraryId; |
|
| 51 | 51 | } |
| 52 | 52 | |
| 53 | 53 | } |