Файловый менеджер - Редактировать - /var/www/html/mediawiki-1.43.1/extensions/FeaturedFeeds/includes/FeaturedFeedItem.php
Ðазад
<?php namespace MediaWiki\Extension\FeaturedFeeds; use MediaWiki\Feed\FeedItem; class FeaturedFeedItem extends FeedItem { public function __construct( string $title, string $url, string $text, string $date ) { parent::__construct( $title, $text, $url, $date ); } public static function fromArray( array $array ): self { return new self( $array['title'], $array['url'], $array['text'], $array['date'] ); } /** * @return string */ public function getRawDate() { return $this->date; } /** * @return string */ public function getRawTitle() { return $this->title; } /** * @return string */ public function getRawUrl() { return $this->url; } /** * @return string */ public function getRawText() { return $this->description; } public function toArray(): array { return [ 'title' => $this->title, 'url' => $this->url, 'text' => $this->description, 'date' => $this->date, ]; } }
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка