root / drupal7 / sites / all / libraries / simplepie / tests / oldtests / absolutize / RFC3986.5.4 / base.php @ 41cc1b08
1 |
<?php
|
---|---|
2 |
|
3 |
class SimplePie_Absolutize_Test_RFC3986 extends SimplePie_Absolutize_Test |
4 |
{ |
5 |
function SimplePie_Absolutize_Test_RFC3986() |
6 |
{ |
7 |
// Ugly hack so it only applies to this and none of its children
|
8 |
if (!is_subclass_of($this, 'SimplePie_Absolutize_Test_RFC3986')) |
9 |
{ |
10 |
$this->test = false; |
11 |
} |
12 |
// Only call the parent constructor if it exists
|
13 |
if (is_callable(array('parent', 'SimplePie_Absolutize_Test'))) |
14 |
{ |
15 |
parent::SimplePie_Absolutize_Test(); |
16 |
} |
17 |
} |
18 |
|
19 |
function init() |
20 |
{ |
21 |
$this->data['base'] = 'http://a/b/c/d;p?q'; |
22 |
} |
23 |
} |
24 |
|
25 |
?>
|