| @@ 87-100 (lines=14) @@ | ||
| 84 | * @param JqueryUI $ui | |
| 85 | * @return \Ajax\JqueryUI | |
| 86 | */ | |
| 87 | 	public function ui($ui=NULL) { | |
| 88 | 		if ($ui!==NULL) { | |
| 89 | $this->_ui=$ui; | |
| 90 | 			if ($this->js!=null) { | |
| 91 | $this->js->ui($ui); | |
| 92 | $ui->setJs($this); | |
| 93 | } | |
| 94 | $bs=$this->bootstrap(); | |
| 95 | 			if (isset($bs)) { | |
| 96 | $this->conflict(); | |
| 97 | } | |
| 98 | } | |
| 99 | return $this->_ui; | |
| 100 | } | |
| 101 | ||
| 102 | /** | |
| 103 | * | |
| @@ 107-120 (lines=14) @@ | ||
| 104 | * @param Bootstrap $bootstrap | |
| 105 | * @return \Ajax\Bootstrap | |
| 106 | */ | |
| 107 | 	public function bootstrap($bootstrap=NULL) { | |
| 108 | 		if ($bootstrap!==NULL) { | |
| 109 | $this->_bootstrap=$bootstrap; | |
| 110 | 			if ($this->js!=null) { | |
| 111 | $this->js->bootstrap($bootstrap); | |
| 112 | $bootstrap->setJs($this); | |
| 113 | } | |
| 114 | $ui=$this->ui(); | |
| 115 | 			if (isset($ui)) { | |
| 116 | $this->conflict(); | |
| 117 | } | |
| 118 | } | |
| 119 | return $this->_bootstrap; | |
| 120 | } | |
| 121 | ||
| 122 | /** | |
| 123 | * | |