classes/bfw/Request.php
changeset 24 ef2914b7af78
parent 7 3ed6f90e97d9
child 28 29a3e34acf64
equal deleted inserted replaced
23:975b2839f1f3 24:ef2914b7af78
   137      * <b>Prüft, ob der aktuelle Request einen POST enthält</b>
   137      * <b>Prüft, ob der aktuelle Request einen POST enthält</b>
   138      *
   138      *
   139      * @return bool
   139      * @return bool
   140      */
   140      */
   141     public static function hasPost() {
   141     public static function hasPost() {
   142         return (isset($_POST));
   142         return (count($_POST) != 0);
   143     }
   143     }
   144 
   144 
   145     /**
   145     /**
   146      * Keine Warnung, keine Gnade
   146      * Keine Warnung, keine Gnade
   147      */
   147      */