本文整理汇总了PHP中fRequest::put_delete方法的典型用法代码示例。如果您正苦于以下问题:PHP fRequest::put_delete方法的具体用法?PHP fRequest::put_delete怎么用?PHP fRequest::put_delete使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类fRequest
的用法示例。
在下文中一共展示了fRequest::put_delete方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: unfilter
/**
* Returns `$_GET`, `$_POST` and `$_FILES` and the `PUT`/`DELTE` post data to the state they were at before ::filter() was called
*
* @internal
*
* @return void
*/
public static function unfilter()
{
if (self::$backup_get === array()) {
throw new fProgrammerException('%1$s can only be called after %2$s', __CLASS__ . '::unfilter()', __CLASS__ . '::filter()');
}
$_FILES = array_pop(self::$backup_files);
$_GET = array_pop(self::$backup_get);
$_POST = array_pop(self::$backup_post);
self::$put_delete = array_pop(self::$backup_put_delete);
}