/**
  * Class constructor
  *
  * @access	public
  */
 public function __construct()
 {
     parent::__construct();
     //set the status in the attribute for more readability
     if (VRequest::comment_status(false) && !isset($_POST['empty'])) {
         switch (VRequest::comment_status()) {
             case 'approved':
                 $this->_status = 'approved';
                 break;
             case 'spam':
                 $this->_status = 'spam';
                 break;
             case 'trash':
                 $this->_status = 'trash';
                 break;
             default:
                 $this->_status = 'pending';
                 break;
         }
     } else {
         $this->_status = 'pending';
     }
     if (VPost::search_button(false) || VGet::search()) {
         $this->_search = trim(VRequest::search('Lynxpress'));
     }
     $this->_title = $this->build_title();
     if ($this->_user['comments']) {
         $this->create();
         $this->update();
         $this->delete();
         if (VGet::action() != 'reply') {
             $this->get_comments();
         }
     }
 }