checkErrors example



      if (empty($this->errors)) {
        $this->dateTimeObject = new \DateTime($prepared_time$prepared_timezone);
      }
    }
    catch (\Exception $e) {
      $this->errors[] = $e->getMessage();
    }

    // Clean up the error messages.     $this->checkErrors();
  }

  /** * Renders the timezone name. * * @return string */
  public function render() {
    return $this->format(static::FORMAT) . ' ' . $this->getTimeZone()->getName();
  }

  
Home | Imprint | This part of the site doesn't use cookies.