/**
  * Class constructor
  *
  * @access	public
  */
 public function __construct()
 {
     parent::__construct();
     parent::build_title();
     $this->_menu = array('Description of website author(s)');
     $this->get_content();
 }
 /**
  * Class constructor
  *
  * @access	public
  */
 public function __construct()
 {
     parent::__construct();
     $this->_title = 'Links';
     $this->_menu = array('External sources you should take a look to');
     $this->get_content();
 }
 /**
  * Class constructor
  *
  * @access	public
  */
 public function __construct()
 {
     parent::__construct();
     $this->build_search();
     $this->get_content();
     $this->build_menu();
     parent::build_title();
 }
 /**
  * Class constructor
  *
  * @access	public
  */
 public function __construct()
 {
     parent::__construct();
     parent::build_title();
     $this->_menu = array('You can use this form to contact an author');
     $this->get_users();
     $this->send();
 }
 /**
  * Class constructor
  *
  * @access	public
  */
 public function __construct()
 {
     parent::__construct();
     Helper\Helper::get_categories($this->_menu, 'album');
     $this->load_cat();
     $this->get_content();
     $this->build_title();
     $this->build_menu();
 }
 /**
  * Class constructor
  *
  * @access	public
  */
 public function __construct()
 {
     parent::__construct();
     Helper\Helper::get_categories($this->_menu, 'video');
     $this->build_menu();
     //If try to select an inexistant category, redirect to 404
     if (VGet::cat() && !isset($this->_menu[VGet::cat()])) {
         header('Location: 404.php');
     }
     $this->get_content();
     $this->_title = 'Videos';
 }
 /**
  * Class constructor
  *
  * @access	public
  */
 public function __construct()
 {
     parent::__construct();
     if (VGet::news()) {
         $this->_view_type = 'news';
     } else {
         $this->_view_type = 'listing';
     }
     Helper\Helper::get_categories($this->_menu);
     $this->build_menu();
     $this->get_content();
     $this->get_nb_pages();
     parent::build_title();
 }
 /**
  * Class constructor
  *
  * @access	public
  * @param	integer [$id] Element id
  */
 public function __construct($id)
 {
     if (empty($id)) {
         throw new Exception('Element id missing');
     }
     parent::__construct();
     $this->_id = $id;
     $this->get_content();
     $this->_comment = new Comment();
     if (VSession::visitor_name(false) && VSession::visitor_email(false)) {
         $this->_comment->_name = VSession::visitor_name();
         $this->_comment->_email = VSession::visitor_email();
     }
     $this->question();
     if (VGet::respond_to()) {
         $this->_comment->_content = '@' . VGet::respond_to();
     }
     if (VPost::submit_comment(false)) {
         $this->create();
     }
 }