/**
  * Class constructor
  *
  * @access	public
  */
 public function __construct()
 {
     $this->_url = 'cache/';
     $this->_post = VPost::all(false);
     $this->_get = VGet::all(false);
     $this->build_url();
     $this->exist();
 }
 /**
  * Check if post data are correct
  *
  * @access	private
  */
 private function check_data()
 {
     $this->_data = VPost::all();
     if (!isset($this->_data['name']) || !isset($this->_data['content']) || !isset($this->_data['email']) || !isset($this->_data['id']) || !isset($this->_data['type'])) {
         $this->_return_msg = array('message' => 'Data missing!');
         return false;
     }
     return true;
 }