Sets the custom style sheet (colors, sizes) to applied to PEAR_Info output. If you don't give any parameter, you'll then apply again the default style.
This function can not be called statically.
Tip: If you don't want to have any style applied, then build an empty style sheet (css file) and give it as function parameter (See example below).
<?php // require the PEAR_Info file require_once 'PEAR/Info.php'; // Create PEAR_Info object $info = new PEAR_Info(); // set your own styles, rather than use the default stylesheet $info->setStyleSheet(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'blueskin.css'); // don't use any style (empty.css is an empty file) //$info->setStyleSheet(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'empty.css'); // Display PEAR_Info output $info->display(); ?> |