Source of file NLVerticalBoxLayout.php
Size: 0,560 Bytes - Last Modified: 2021-12-23T10:05:39+00:00
/var/www/docs.ssmods.com/process/src/code/layout/NLVerticalBoxLayout.php
1234567891011121314151617181920212223242526 | <?php /** * Box layout component, which implements a simple vertical box for laying out its children. */ class NLVerticalBoxLayout extends NLLayoutComponent { static public function get_metadata() { return array( "name" => "Vertical Box layout", "description" => "Lets you group other items, and arrange them vertically", "imageURL" => null ); } function renderContent($context) { $content = ""; if ($this->children) { foreach ($this->children as $child) { $content .= $child->render($context); } } return $content; } } |