:SqlManager */ protected $sqlManager; /** * Default-Constructor */ public function __construct() { $this->connect(); parent::__construct(); // set content type td xml $this->contentType("Content-type: application/xml;charset=utf-8"); } /** * Default-DeConstructor */ public function __destruct() { // destroy the sqlManager $this->sqlManager->closeConnection(); unset($this->sqlManager); $this->sqlManager = null; } /** * Method start a connection to the database */ public function connect() { $this->sqlManager->connect(); } } ?>