| @@ 2271-2290 (lines=20) @@ | ||
| 2268 | * @return unknown_type |
|
| 2269 | * @TODO trigger change event for textarea |
|
| 2270 | */ |
|
| 2271 | public function markup($markup = null, $callback1 = null, $callback2 = null, $callback3 = null) |
|
| 2272 | { |
|
| 2273 | $args = func_get_args(); |
|
| 2274 | if ($this->documentWrapper->isXML) |
|
| 2275 | return call_user_func_array( |
|
| 2276 | array( |
|
| 2277 | $this, |
|
| 2278 | 'xml' |
|
| 2279 | ), |
|
| 2280 | $args |
|
| 2281 | ); |
|
| 2282 | else |
|
| 2283 | return call_user_func_array( |
|
| 2284 | array( |
|
| 2285 | $this, |
|
| 2286 | 'html' |
|
| 2287 | ), |
|
| 2288 | $args |
|
| 2289 | ); |
|
| 2290 | } |
|
| 2291 | ||
| 2292 | /** |
|
| 2293 | * jQuey difference |
|
| @@ 2301-2320 (lines=20) @@ | ||
| 2298 | * @internal param $markup |
|
| 2299 | * @return string |
|
| 2300 | */ |
|
| 2301 | public function markupOuter($callback1 = null, $callback2 = null, $callback3 = null) |
|
| 2302 | { |
|
| 2303 | $args = func_get_args(); |
|
| 2304 | if ($this->documentWrapper->isXML) |
|
| 2305 | return call_user_func_array( |
|
| 2306 | array( |
|
| 2307 | $this, |
|
| 2308 | 'xmlOuter' |
|
| 2309 | ), |
|
| 2310 | $args |
|
| 2311 | ); |
|
| 2312 | else |
|
| 2313 | return call_user_func_array( |
|
| 2314 | array( |
|
| 2315 | $this, |
|
| 2316 | 'htmlOuter' |
|
| 2317 | ), |
|
| 2318 | $args |
|
| 2319 | ); |
|
| 2320 | } |
|
| 2321 | ||
| 2322 | /** |
|
| 2323 | * Enter description here... |
|