编辑:Rating.php
<?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:rating>` or `<itunes:explicit>` tags as defined in Media RSS and iTunes RSS respectively * * Used by {@see \SimplePie\Enclosure::get_rating()} and {@see \SimplePie\Enclosure::get_ratings()} * * This class can be overloaded with {@see \SimplePie\SimplePie::set_rating_class()} */ class Rating { /** * Rating scheme * * @var ?string * @see get_scheme() */ public $scheme; /** * Rating value * * @var ?string * @see get_value() */ public $value; /** * Constructor, used to input the data * * For documentation on all the parameters, see the corresponding * properties and their accessors */ public function __construct( ?string $scheme = null, ?string $value = null ) { $this->scheme = $scheme; $this->value = $value; } /** * String-ified version * * @return string */ public function __toString() { // There is no $this->data here return md5(serialize($this)); } /** * Get the organizational scheme for the rating * * @return string|null */ public function get_scheme() { if ($this->scheme !== null) { return $this->scheme; } return null; } /** * Get the value of the rating * * @return string|null */ public function get_value() { if ($this->value !== null) { return $this->value; } return null; } } class_alias('SimplePie\Rating', 'SimplePie_Rating');
保存文件
位置:
home
/
fembzvrs
/
zimeza.com
/
wp-includes
/
SimplePie
/
src
批量上传
创建
创建
批量权限
批量删除
名称
权限
大小
修改时间
操作
↑ 返回上级
-
-
-
-
Cache
drwxr-xr-x
-
2025-12-21 04:19
权限
删除
重命名
Content
drwxr-xr-x
-
2025-07-06 02:11
权限
删除
重命名
HTTP
drwxr-xr-x
-
2026-01-29 20:49
权限
删除
重命名
Net
drwxr-xr-x
-
2025-07-06 02:11
权限
删除
重命名
Parse
drwxr-xr-x
-
2025-07-06 02:11
权限
删除
重命名
XML
drwxr-xr-x
-
2025-07-06 02:11
权限
删除
重命名
Author.php
-rw-r--r--
1.86 KB
2025-12-03 02:17
编辑
下载
权限
删除
重命名
Parser.php
-rw-r--r--
34.05 KB
2025-12-03 02:17
编辑
下载
权限
删除
重命名
Rating.php
-rw-r--r--
1.75 KB
2025-12-03 02:17
编辑
下载
权限
删除
重命名