编辑:Author.php
<?php // SPDX-FileCopyrightText: 2004-2023 Ryan Parman, Sam Sneddon, Ryan McCue // SPDX-License-Identifier: BSD-3-Clause declare(strict_types=1); namespace SimplePie; /** * Manages all author-related data * * Used by {@see Item::get_author()} and {@see SimplePie::get_authors()} * * This class can be overloaded with {@see SimplePie::set_author_class()} */ class Author { /** * Author's name * * @var ?string * @see get_name() */ public $name; /** * Author's link * * @var ?string * @see get_link() */ public $link; /** * Author's email address * * @var ?string * @see get_email() */ public $email; /** * Constructor, used to input the data */ public function __construct( ?string $name = null, ?string $link = null, ?string $email = null ) { $this->name = $name; $this->link = $link; $this->email = $email; } /** * String-ified version * * @return string */ public function __toString() { // There is no $this->data here return md5(serialize($this)); } /** * Author's name * * @return string|null */ public function get_name() { if ($this->name !== null) { return $this->name; } return null; } /** * Author's link * * @return string|null */ public function get_link() { if ($this->link !== null) { return $this->link; } return null; } /** * Author's email address * * @return string|null */ public function get_email() { if ($this->email !== null) { return $this->email; } return null; } } class_alias('SimplePie\Author', 'SimplePie_Author');
保存文件
位置:
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
编辑
下载
权限
删除
重命名