/** * Get the html node for this element * * @param \DOMElement $node * @param \AppShed\Remote\XML\DOMDocument $xml * @param \AppShed\Remote\HTML\Settings $settings */ protected function getHTMLNodeInner($node, $xml, $settings) { $this->innerScreen = new GalleryInner($this->title); $this->innerScreen->copyStyles($this); $this->innerScreen->setId($this->getId()); $this->innerScreen->setUpdated(false); $this->innerScreen->setChildren(array_filter($this->children, function (\AppShed\Remote\Element\Item\GalleryImage $child) { return !$child->getDisableInner(); })); $this->innerScreen->setBack($this); $this->innerScreen->getHTMLNode($xml, $settings); parent::getHTMLNodeInner($node, $xml, $settings); }