Ajax::req( string $key, mixed $val = null )
Description #
Get and set request.
Parameters #
- $keystring (Required) Request key.
- $valmixed (Optional) Request value. Default value: null
Source #
File: classes/ajax.php
public function req( $key, $val = null ) { if ( null === $val && ! isset( $this->req[ $key ] ) ) { return; } if ( null === $val ) { return $this->req[ $key ]; } $this->req[ $key ] = $val; }
Expand full source code Collapse full source code View on GitHub: classes/ajax.php:185
Add your comment