Example #1
0
 public function __construct(rsContainer $Container, rsMysql $db, $active_doc = null)
 {
     parent::__construct($db);
     $this->menu_container = $Container->subordinate('ul');
     if ($active_doc) {
         $this->active_doc = $active_doc;
     } else {
         $this->active_doc = parent::detect_requested_page();
     }
 }
Example #2
0
 public function __construct(rsMysql $db, rsHeader $head, rsContainer $body)
 {
     parent::__construct($db, $head, $body);
     $this->page = $this->build_doc();
     if (!is_int($this->feeddoc)) {
         $this->feeddoc = FEED;
     }
     if ($this->build_feed(new rsContainer('channel'))) {
         return true;
     }
     $this->build_head();
     $this->body = new rsContainer('body');
     $this->mainContainer = array();
     $this->build_body();
     $this->build();
 }
 public function __construct(rsMysql $db = null, rsHeader $head = null, rsContainer $body = null)
 {
     parent::__construct($db, $head, $body);
     $this->request = $this->detect_requested_page();
     $this->send_headers();
 }