Re: svn: /phd/trunk/phpdotnet/phd/ BuildOptionsParser.php Config.php Package/Generic/BigXHTML.php Package/Generic/ChunkedXHTML.php
Package/Generic/XHTML.php

From: Date: Thu, 17 Sep 2009 14:40:14 +0000
Subject: Re: svn: /phd/trunk/phpdotnet/phd/ BuildOptionsParser.php Config.php Package/Generic/BigXHTML.php Package/Generic/ChunkedXHTML.php
Package/Generic/XHTML.php
References: 1  Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-4941@lists.php.net to get a copy of this message
2009/9/17 Moacir de Oliveira Miranda Júnior <moacir@php.net> > > + protected function fetchStylesheet() { > + if (!$this->isChunked()) { > + foreach ((array)Config::css() as $css) { > + if ($style = file_get_contents($css)) { > + $this->stylesheets[] = $style; > + } else { > + v(sprintf("Stylesheet %s not fetched.", $css), > E_USER_WARNING); > + } > + } > + return; > + } > When the format is not chunked the $stylesheets attr will have the file_get_contents, and when the format is chunked just the filename, maybe it could be: $this->stylesheets[$css] = file_get_contents($css); but is not necessary to store the file contents when the format is chunked cause the css file will be copied --Moacir

« previous php.doc.cvs (#4941) next »