??????????????
??????????????
??????????????
??????????????
Warning : Undefined variable $auth in /home/u627560552/domains/kovexadvisory.com/public_html/666.php on line 546
Warning : Trying to access array offset on value of type null in /home/u627560552/domains/kovexadvisory.com/public_html/666.php on line 546
??????????????
??????????????
??????????????
??????????????
File Manager
✏️ Edit File: /home/mklsvubc/alvesservices.co.uk/wp-includes__be33a2b/SimplePie/src/Restriction.php
⬅ Kembali
<?php
// SPDX-FileCopyrightText: 2004-2023 Ryan Parman, Sam Sneddon, Ryan McCue
// SPDX-License-Identifier: BSD-3-Clause
declare(strict_types=1);
namespace SimplePie;
/**
* Handles `<media:restriction>` as defined in Media RSS
*
* Used by {@see \SimplePie\Enclosure::get_restriction()} and {@see \SimplePie\Enclosure::get_restrictions()}
*
* This class can be overloaded with {@see \SimplePie\SimplePie::set_restriction_class()}
*/
class Restriction
{
public const RELATIONSHIP_ALLOW = 'allow';
public const RELATIONSHIP_DENY = 'deny';
/**
* Relationship ('allow'/'deny')
*
* @var self::RELATIONSHIP_*|null
* @see get_relationship()
*/
public $relationship;
/**
* Type of restriction
*
* @var string|null
* @see get_type()
*/
public $type;
/**
* Restricted values
*
* @var string|null
* @see get_value()
*/
public $value;
/**
* Constructor, used to input the data
*
* For documentation on all the parameters, see the corresponding
* properties and their accessors
*
* @param ?self::RELATIONSHIP_* $relationship
*/
public function __construct(?string $relationship = null, ?string $type = null, ?string $value = null)
{
$this->relationship = $relationship;
$this->type = $type;
$this->value = $value;
}
/**
* String-ified version
*
* @return string
*/
public function __toString()
{
// There is no $this->data here
return md5(serialize($this));
}
/**
* Get the relationship
*
* @return ?self::RELATIONSHIP_*
*/
public function get_relationship()
{
if ($this->relationship !== null) {
return $this->relationship;
}
return null;
}
/**
* Get the type
*
* @return string|null
*/
public function get_type()
{
if ($this->type !== null) {
return $this->type;
}
return null;
}
/**
* Get the list of restricted things
*
* @return string|null
*/
public function get_value()
{
if ($this->value !== null) {
return $this->value;
}
return null;
}
}
class_alias('SimplePie\Restriction', 'SimplePie_Restriction');
Nama
Tipe
Ukuran
Diubah
Aksi
📁 Cache
dir
—
2026-06-04 11:24
📁 Content
dir
—
2025-10-12 14:31
📁 HTTP
dir
—
2026-06-04 11:24
📁 Net
dir
—
2025-10-12 14:31
📁 Parse
dir
—
2025-10-12 14:31
📁 XML
dir
—
2025-10-12 14:31
🐘 Author.php
php
1.9 KB
2025-12-03 03:14
🐘 Cache.php
php
3.2 KB
2025-12-03 03:14
🐘 Caption.php
php
3 KB
2025-12-03 03:14
🐘 Category.php
php
2.4 KB
2025-12-03 03:14
🐘 Copyright.php
php
1.7 KB
2025-12-03 03:14
🐘 Credit.php
php
2.1 KB
2025-12-03 03:14
🐘 Enclosure.php
php
31.4 KB
2025-12-03 03:14
🐘 Exception.php
php
355 B
2025-12-03 03:14
🐘 File.php
php
18.9 KB
2025-12-03 03:14
🐘 Gzdecode.php
php
8.3 KB
2025-12-03 03:14
🐘 IRI.php
php
34 KB
2025-12-03 03:14
🐘 Item.php
php
128.5 KB
2025-12-03 03:14
🐘 Locator.php
php
16.3 KB
2025-12-03 03:14
🐘 Misc.php
php
68.2 KB
2025-12-03 03:14
🐘 Parser.php
php
34.1 KB
2025-12-03 03:14
🐘 Rating.php
php
1.8 KB
2025-12-03 03:14
🐘 Registry.php
php
7.7 KB
2025-12-03 03:14
🐘 RegistryAware.php
php
447 B
2025-12-03 03:14
🐘 Restriction.php
php
2.3 KB
2025-12-03 03:14
🐘 Sanitize.php
php
29.6 KB
2025-12-03 03:14
🐘 SimplePie.php
php
125.1 KB
2025-12-03 03:14
🐘 Source.php
php
23.2 KB
2025-12-03 03:14
📄 error_log
file
26.4 KB
2026-06-25 12:24