/** * Class constructor * * @access public */ public function __construct() { parent::__construct(); if (VRequest::type() && in_array(VRequest::type(), array('image', 'video', 'alien'))) { $this->_view_type = VRequest::type(); } else { $this->_view_type = 'image'; } $this->build_title(); if ($this->_user['media']) { if (VPost::search_button(false) || VGet::search()) { $this->_search = trim(VRequest::search('Lynxpress')); $this->_title .= ' > Search for "' . $this->_search . '"'; } if ($this->_view_type == 'video') { Helper::get_categories($this->_categories, $this->_action_msg, 'video'); } $this->update(); $this->delete(); $this->get_medias(); } }