| Server IP : 217.11.249.137 / Your IP : 216.73.216.54 Web Server : Apache System : FreeBSD triton.blueboard.cz 13.5-STABLE FreeBSD 13.5-STABLE stable/13-a3d32f9e6 GENERIC amd64 User : www ( 80) PHP Version : 8.0.30 Disable Function : ini_restore, show_source, socket_select, socket_create_listen, socket_create_pair, socket_listen, socket_strerror, shell_exec, proc_nice, proc_terminate, readlink, symlink, link, pfsocketopen, ini_alter, dl, pcntl_exec, pcntl_fork, pcntl_signal, pcntl_waitpid, pcntl_wexitstatus, pcntl_wifexited, pcntl_wifsignaled, pcntl_wifsignaled, pcntl_wifstoped, pcntl_wifstopsig, pcntl_wtermsig, socket_accept, socket_bind, socket_create, socket_create_listen, popen, zlib_decode MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /data/www/24781/extramagazin_cz/www/wp-content/plugins/amp/src/Component/ |
Upload File : |
<?php
/**
* Class CaptionedSlide
*
* @package AmpProject\AmpWP
*/
namespace AmpProject\AmpWP\Component;
use DOMElement;
/**
* Class CaptionedSlide
*
* @internal
* @since 1.5.0
*/
final class CaptionedSlide implements HasCaption {
/**
* The slide node, possibly an image.
*
* @var DOMElement
*/
private $slide_element;
/**
* The caption node.
*
* @var DOMElement
*/
private $caption_element;
/**
* Constructs the class.
*
* @param DOMElement $slide_element The slide node, possibly an image.
* @param DOMElement $caption_element The caption element.
*/
public function __construct( DOMElement $slide_element, DOMElement $caption_element ) {
$this->slide_element = $slide_element;
$this->caption_element = $caption_element;
}
/**
* Gets the caption element.
*
* @return DOMElement
*/
public function get_caption_element() {
return $this->caption_element;
}
/**
* Gets the slide element.
*
* @return DOMElement
*/
public function get_slide_element() {
return $this->slide_element;
}
}