17 if (!defined(
"PSF_ENTRY_POINT"))
18 die(
"Not a valid psf entry point");
20 require_once (dirname(__FILE__) .
"/css.php");
25 function __construct($_parent = NULL)
27 parent::__construct($_parent);
30 protected function Load()
32 if ($this->BackgroundColor !== NULL)
33 $this->items[
'_inline_'][
'background-color'] = $this->BackgroundColor;
36 public function SetProperty($name, $value)
38 $this->items[
'_inline_'][$name] = $value;
41 public function GetProperty($name)
43 return $this->items[
'_inline_'][$name];
46 public function ToCss($n = 0)
49 if (!array_key_exists(
"_inline_", $this->items))
52 foreach ($this->items[
'_inline_'] as $name => $values)
54 $buff .= $name .
': ' . $values .
";";
Represent a single Html page.