[ Index ]

PHP Cross Reference of WordPress Trunk (Updated Daily)

Search

title

Body

[close]

/wp-includes/Requests/src/Utility/ -> FilteredIterator.php (summary)

Iterator for arrays requiring filtered values

File Size: 97 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 5 functions

  __construct()
  __unserialize()
  __wakeup()
  current()
  unserialize()

Functions
Functions that are not part of a class:

__construct($data, $callback)   X-Ref
Create a new iterator

param: array    $data     The array or object to be iterated on.
param: callable $callback Callback to be called on each value

__unserialize($data)   X-Ref
Prevent unserialization of the object for security reasons.

return: void
param: array $data Restored array of data originally serialized.

__wakeup()   X-Ref
Perform reinitialization tasks.

Prevents a callback from being injected during unserialization of an object.

return: void

current()   X-Ref
Get the current item's value after filtering

return: string

unserialize($data)   X-Ref
Prevent creating a PHP value from a stored representation of the object for security reasons.

return: void
param: string $data The serialized string.



Generated : Sat Apr 27 08:20:02 2024 Cross-referenced by PHPXref