public function includeXSL($files, $prepend = false)
    {
        $files = (array) $files;

        foreach ($files as $file) {
            if (!in_array($file, $this->xslfiles, true)) {
                if ($prepend) {
                    array_unshift($this->xslfiles, $file);
                } else {
                    $this->xslfiles[] = $file;
                }
            }
        }
    }
public function includeXSL($files, $prepend = false)
    {
        $files = (array) $files;

        foreach ($files as $file) {
            if (!in_array($file, $this->xslfiles, true)) {
                if ($prepend) {
                    array_unshift($this->xslfiles, $file);
                } else {
                    $this->xslfiles[] = $file;
                }
            }
        }
    }
public function includeXSL ( $ files , $ prepend = false ) { $ files = ( array ) $ files ; foreach ( $ files as $ file ) { if ( ! in_array ( $ file , $ this -> xslfiles , true ) ) { if ( $ prepend ) { array_unshift ( $ this -> xslfiles , $ file ) ; } else { $ this -> xslfiles [ ] = $ file ; } } } }
Adds XSL file to list of files to include.


@param mixed $files   Filename with path or array of files
@param bool  $prepend If true, file(s) are put to the top of xsl file stack
Adds XSL file to list of files to include .