rendered paste body<?phpclass Hammer{ #Hammer object private static $oHammer; #Inherited Properties public $fConfig = false; public $cReturn = false; public $oDB = false; public $oHead = false;function __construct(){ $this->getDatabase(); $this->getHead(); }function getConfig($cKey = false){ if (!$cKey) { return false; } return $this->fConfig[$cKey]; }function getHead() { $this->oHead = new Head(); }}?><?phpclass Head extends Hammer{ private $aConfig = false; function __construct() { $this->aConfig = parent::getConfig('site'); $this->cTitle = $this->aConfig['title']; } function getTitle() { return $this->aConfig['title']; }}?>