@@ 66-79 (lines=14) @@ | ||
63 | * @param JqueryUI $ui |
|
64 | * @return \Ajax\JqueryUI |
|
65 | */ |
|
66 | public function ui($ui=NULL) { |
|
67 | if ($ui!==NULL) { |
|
68 | $this->_ui=$ui; |
|
69 | if ($this->js!=null) { |
|
70 | $this->js->ui($ui); |
|
71 | $ui->setJs($this); |
|
72 | } |
|
73 | $bs=$this->bootstrap(); |
|
74 | if (isset($bs)) { |
|
75 | $this->conflict(); |
|
76 | } |
|
77 | } |
|
78 | return $this->_ui; |
|
79 | } |
|
80 | ||
81 | /** |
|
82 | * |
|
@@ 86-99 (lines=14) @@ | ||
83 | * @param Bootstrap $bootstrap |
|
84 | * @return \Ajax\Bootstrap |
|
85 | */ |
|
86 | public function bootstrap($bootstrap=NULL) { |
|
87 | if ($bootstrap!==NULL) { |
|
88 | $this->_bootstrap=$bootstrap; |
|
89 | if ($this->js!=null) { |
|
90 | $this->js->bootstrap($bootstrap); |
|
91 | $bootstrap->setJs($this); |
|
92 | } |
|
93 | $ui=$this->ui(); |
|
94 | if (isset($ui)) { |
|
95 | $this->conflict(); |
|
96 | } |
|
97 | } |
|
98 | return $this->_bootstrap; |
|
99 | } |
|
100 | ||
101 | /** |
|
102 | * |