class MyException extends Exception{ // Die Exception neu definieren, damit die Mitteilung nicht optional ist public function __construct($message, $code = 0, Exception $previous = null) { // etwas Code // sicherstellen, dass alles korrekt zugewiesen wird parent::__construct($message, $code, $previous); } // maßgeschneiderte Stringdarstellung des Objektes public function __toString() { return __CLASS__ . ": [{$this->code}]: {$this->message}\n"; } public function customFunction() { echo "Eine eigene Funktion dieses Exceptiontyps\n"; }}
1More
Some Useful Tips to extend iPhone battery Life - 0 views
1More
40 Extensions And Plugins For Extending Bootstrap | SmashingApps.com - 0 views
1More
WordPress SEO 2.0 With New Features - KnowledgeIDea - 0 views
1More