Submit
Path:
~
/
home
/
bfxleof
/
www
/
wp-includes
/
js
/
codemirror
/
File Content:
Category.php
<?php /** * SimplePie * * A PHP-Based RSS and Atom Feed Framework. * Takes the hard work out of managing a complete RSS/Atom solution. * * Copyright (c) 2004-2016, Ryan Parman, Sam Sneddon, Ryan McCue, and contributors * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, are * permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, this list of * conditions and the following disclaimer. * * * Redistributions in binary form must reproduce the above copyright notice, this list * of conditions and the following disclaimer in the documentation and/or other materials * provided with the distribution. * * * Neither the name of the SimplePie Team nor the names of its contributors may be used * to endorse or promote products derived from this software without specific prior * written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY * AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS * AND CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * * @package SimplePie * @copyright 2004-2016 Ryan Parman, Sam Sneddon, Ryan McCue * @author Ryan Parman * @author Sam Sneddon * @author Ryan McCue * @link http://simplepie.org/ SimplePie * @license http://www.opensource.org/licenses/bsd-license.php BSD License */ /** * Manages all category-related data * * Used by {@see SimplePie_Item::get_category()} and {@see SimplePie_Item::get_categories()} * * This class can be overloaded with {@see SimplePie::set_category_class()} * * @package SimplePie * @subpackage API */ class SimplePie_Category { /** * Category identifier * * @var string|null * @see get_term */ var $term; /** * Categorization scheme identifier * * @var string|null * @see get_scheme() */ var $scheme; /** * Human readable label * * @var string|null * @see get_label() */ var $label; /** * Category type * * category for <category> * subject for <dc:subject> * * @var string|null * @see get_type() */ var $type; /** * Constructor, used to input the data * * @param string|null $term * @param string|null $scheme * @param string|null $label * @param string|null $type */ public function __construct($term = null, $scheme = null, $label = null, $type = null) { $this->term = $term; $this->scheme = $scheme; $this->label = $label; $this->type = $type; } /** * String-ified version * * @return string */ public function __toString() { // There is no $this->data here return md5(serialize($this)); } /** * Get the category identifier * * @return string|null */ public function get_term() { return $this->term; } /** * Get the categorization scheme identifier * * @return string|null */ public function get_scheme() { return $this->scheme; } /** * Get the human readable label * * @param bool $strict * @return string|null */ public function get_label($strict = false) { if ($this->label === null && $strict !== true) { return $this->get_term(); } return $this->label; } /** * Get the category type * * @return string|null */ public function get_type() { return $this->type; } }
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
418.php
478 bytes
0644
Category.php
3944 bytes
0644
ChaCha20.php
12934 bytes
0644
SMTP.php
47285 bytes
0644
admin-bar.css
23876 bytes
0644
autoload.php
2731 bytes
0644
block-serialization-default-parser.min.js
4516 bytes
0644
block.json
1513 bytes
0644
class-IXR-introspectionserver.php
5323 bytes
0644
class-json.php
43441 bytes
0644
class-wp-http-streams.php
16117 bytes
0644
class-wp-locale.php
13982 bytes
0644
class-wp-network-query-20260705044109.php
19169 bytes
0644
class-wp-network-query.php
19169 bytes
0644
class-wp-network.php
12379 bytes
0644
class-wp-oembed-controller-20260621150705.php
6793 bytes
0644
class-wp-oembed-controller.php
6793 bytes
0644
class-wp-sitemaps-posts.php
5875 bytes
0644
class-wp-sitemaps-provider.php
4366 bytes
0644
class-wp-sitemaps-renderer.php
6797 bytes
0644
class-wp-sitemaps.php
6290 bytes
0644
class-wp-theme.php
51601 bytes
0644
class-wp-widget-recent-posts-20260621162217.php
5914 bytes
0644
codemirror.min-20260621184350.css
15899 bytes
0644
codemirror.min.js
585414 bytes
0604
common-rtl.css
6510 bytes
0644
data.js
147192 bytes
0644
esprima.js
283149 bytes
0604
fakejshint.js
1002 bytes
0604
htmlhint-kses.js
984 bytes
0604
htmlhint.js
17735 bytes
0604
https-detection-20260623211809-20260705222630.php
6871 bytes
0644
https-detection-20260623211809.php
6871 bytes
0644
https-detection.php
6871 bytes
0644
https-migration-20260621215951.php
4730 bytes
0644
https-migration-20260621222700-20260622020253.php
4730 bytes
0644
https-migration-20260621222700.php
4730 bytes
0644
https-migration-20260622015741.php
4730 bytes
0644
https-migration-20260622055634-20260705081401.php
4730 bytes
0644
https-migration-20260622055634.php
4730 bytes
0644
https-migration-20260622145328.php
4730 bytes
0644
https-migration-20260622194220-20260706014615-20260706235703.php
4730 bytes
0644
https-migration-20260622194220-20260706014615.php
4730 bytes
0644
https-migration-20260622194220.php
4730 bytes
0644
https-migration-20260622200550.php
4730 bytes
0644
https-migration-20260622204948.php
4730 bytes
0644
https-migration-20260622211332.php
4730 bytes
0644
https-migration.php
4730 bytes
0644
index.php
1531 bytes
0644
jquery.serialize-object.js
769 bytes
0644
json2.js
18422 bytes
0644
jsonlint.js
16189 bytes
0604
kses-20260703172905.php
63459 bytes
0644
kses.php
63459 bytes
0644
ms-blogs-20260707082344.php
25174 bytes
0644
ms-blogs.php
25174 bytes
0644
nav-menu-template-20260705092129.php
23296 bytes
0644
nav-menu-template.php
23296 bytes
0644
php72compat_const.php
4597 bytes
0644
plural-forms.php
7612 bytes
0644
post-thumbnail-template.php
9353 bytes
0644
revision.php
22027 bytes
0644
shortcode-20260622010901.php
697 bytes
0644
shortcode-20260622122648.php
697 bytes
0644
shortcode.min.js
4096 bytes
0644
shortcode.php
697 bytes
0644
taxonomy.php
165888 bytes
0644
tooltip.min-20260704202242.js
6091 bytes
0644
tooltip.min.js
6091 bytes
0644
wp-content-20260704192548.css
8624 bytes
0644
wp-content.css
8624 bytes
0644
N4ST4R_ID | Naxtarrr