@@ 224-232 (lines=9) @@ | ||
221 | return new ar_content_htmlContent( $html ); |
|
222 | } |
|
223 | ||
224 | public static function parse( $html, $full = false ) { |
|
225 | $context = pobject::getContext(); |
|
226 | $me = $context["arCurrentObject"]; |
|
227 | include_once($me->store->get_config('code')."modules/mod_url.php"); |
|
228 | if (!$full) { |
|
229 | $html = self::getBody( $html ); |
|
230 | } |
|
231 | return new ar_content_htmlContent( URL::ARtoRAW( $html ) ); |
|
232 | } |
|
233 | ||
234 | public static function isEmpty( $html ) { |
|
235 | $html = self::getBody( $html ); |
@@ 90-98 (lines=9) @@ | ||
87 | return $page; |
|
88 | } |
|
89 | ||
90 | public static function parse($page, $full=false) { |
|
91 | $context = pobject::getContext(); |
|
92 | $me = $context["arCurrentObject"]; |
|
93 | include_once($me->store->get_config('code')."modules/mod_url.php"); |
|
94 | if (!$full) { |
|
95 | $page = page::getBody($page); |
|
96 | } |
|
97 | return URL::ARtoRAW($page); |
|
98 | } |
|
99 | ||
100 | public static function isEmpty($page) { |
|
101 | $page = page::getBody($page); |