_boxes['left'] = array('categories.php', 'manufacturers.php', 'whats_new.php', 'search.php', 'information.php'); } function getTitle() { return $this->_title; } function getTitleLink() { return $this->_title_link; } function hasTitleLink() { return !empty($this->_title_link); } function getContent() { return $this->_content; } function hasContent() { return !empty($this->_content); } function getGroup($group) { $boxes = array(); foreach ($this->_boxes[$group] as $box) { if (file_exists('includes/boxes/' . $box)) { $box_class = 'osC_Boxes_' . substr($box, 0, strrpos($box, '.')); if (class_exists($box_class) === false) { include('includes/boxes/' . $box); } $boxes[] = array('class' => $box, 'object' => $box_class); } } return $boxes; } } ?>