public function isValid()
 {
     $bb = $this->getPlugin()->getBookingBuilder();
     if (!$bb->get('email') && is_user_logged_in()) {
         global $current_user;
         get_currentuserinfo();
         $values = array('firstname' => $current_user->user_firstname, 'lastname' => $current_user->user_lastname, 'email' => $current_user->user_email, 'phone' => get_user_meta($current_user->ID, '_sln_phone', true), 'address' => get_user_meta($current_user->ID, '_sln_address', true));
         $this->bindValues($values);
     }
     return parent::isValid();
 }
 public function isValid()
 {
     $tmp = $this->getAttendants();
     return !empty($tmp) && parent::isValid();
 }
 public function isValid()
 {
     $tmp = $this->getServices();
     return !empty($tmp) && parent::isValid();
 }