WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru Платформа для конвертации и монетизации трафика
функция не описана

SimplePie_Enclosure::__construct() public WP 1.0

Constructor, used to input the data

For documentation on all the parameters, see the corresponding properties and their accessors

{} Это метод класса: SimplePie_Enclosure{}

Хуков нет.

Возвращает

Null. Ничего.

Использование

$SimplePie_Enclosure = new SimplePie_Enclosure();
$SimplePie_Enclosure->__construct( $link, $type, $length, $javascript, $bitrate, $captions, $categories, $channels, $copyright, $credits, $description, $duration, $expression, $framerate, $hashes, $height, $keywords, $lang, $medium, $player, $ratings, $restrictions, $samplingrate, $thumbnails, $title, $width );

Код SimplePie_Enclosure::__construct() WP 5.5.3

<?php
public function __construct($link = null, $type = null, $length = null, $javascript = null, $bitrate = null, $captions = null, $categories = null, $channels = null, $copyright = null, $credits = null, $description = null, $duration = null, $expression = null, $framerate = null, $hashes = null, $height = null, $keywords = null, $lang = null, $medium = null, $player = null, $ratings = null, $restrictions = null, $samplingrate = null, $thumbnails = null, $title = null, $width = null)
{
	$this->bitrate = $bitrate;
	$this->captions = $captions;
	$this->categories = $categories;
	$this->channels = $channels;
	$this->copyright = $copyright;
	$this->credits = $credits;
	$this->description = $description;
	$this->duration = $duration;
	$this->expression = $expression;
	$this->framerate = $framerate;
	$this->hashes = $hashes;
	$this->height = $height;
	$this->keywords = $keywords;
	$this->lang = $lang;
	$this->length = $length;
	$this->link = $link;
	$this->medium = $medium;
	$this->player = $player;
	$this->ratings = $ratings;
	$this->restrictions = $restrictions;
	$this->samplingrate = $samplingrate;
	$this->thumbnails = $thumbnails;
	$this->title = $title;
	$this->type = $type;
	$this->width = $width;

	if (class_exists('idna_convert'))
	{
		$idn = new idna_convert();
		$parsed = SimplePie_Misc::parse_url($link);
		$this->link = SimplePie_Misc::compress_parse_url($parsed['scheme'], $idn->encode($parsed['authority']), $parsed['path'], $parsed['query'], $parsed['fragment']);
	}
	$this->handler = $this->get_handler(); // Needs to load last
}