VCL
[ class tree: VCL ] [ index: VCL ] [ all elements ]

Class: Input

Source Location: /system.inc.php

Class Overview


Input class, offers an easy way to get filtered input from the user.


Variables

Methods



Class Details

[line 824]
Input class, offers an easy way to get filtered input from the user.

This is a sample on how to use it

  1.  <?php
  2.  global $input;
  3.  $action=$input->action;
  4.  if (is_object($action))
  5.  {
  6.      $toperform=$action->asString();
  7.  }
  8.  ?>




[ Top ]


Class Variables

$disable = false

[line 826]



Tags:

access:  public

Type:   mixed


[ Top ]



Class Methods


constructor __construct [line 902]

Input __construct( )



[ Top ]

method __get [line 836]

InputParam __get( $nm)

Magic method to search for the input from the user, checkout the order in which the variable is searched for: $_GET, $_POST, $_REQUEST, $_COOKIES, $_SERVER



Tags:

return:  object or null if it's not found


Parameters:

   $nm  

[ Top ]


Documentation generated on Sat, 13 Jun 2009 10:52:12 -0700 by phpDocumentor 1.4.1