commit 1e4f8db10de5085d91a237131fcf04aa8ccd66b4
parent b52db225a440fc247a5aadc20fbe50ce251e9b0e
Author: dankert <devnull@localhost>
Date: Sun, 19 Dec 2004 15:40:18 +0100
neue Methode hasRequestVar()
Diffstat:
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/actionClasses/Action.class.php b/actionClasses/Action.class.php
@@ -20,7 +20,10 @@
// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
// ---------------------------------------------------------------------------
// $Log$
-// Revision 1.10 2004-12-15 23:22:26 dankert
+// Revision 1.11 2004-12-19 14:40:18 dankert
+// neue Methode hasRequestVar()
+//
+// Revision 1.10 2004/12/15 23:22:26 dankert
// Konstanten, getRequestid()
//
// Revision 1.9 2004/11/29 21:08:13 dankert
@@ -109,6 +112,14 @@ class Action
}
+ function hasRequestVar( $varName )
+ {
+ global $REQ;
+
+ return( !empty($REQ[$varName]) );
+ }
+
+
function getRequestId()
{
return intval( $this->getRequestVar('id') );