var $styleSheets = array();
- function convertStyle($base, $path, $is_url = false)
+ function convertStyle($url, $file, $is_url = false)
{
// if(!empty($url))
// {
// }
foreach ($xpath->query('//style') as $s){
-// $ss = $doc->saveHTML($s);
- print_r($s->nodeValue);
-// $this->styleSheets[] = $this->$this->replaceImageUrl($s)
- echo '<br/>';
+ $this->styleSheets[] = $this->$this->replaceImageUrl($s->nodeValue, $url);
}
exit;