1 <?php
2 /**
3 * UIX Footer
4 *
5 * @package ui
6 * @author David Cramer
7 * @license GPL-2.0+
8 * @link
9 * @copyright 2016 David Cramer
10 */
11 namespace uix\ui;
12
13 /**
14 * Footer type used for creating footer based sections. Mainly used in modals and pages
15 *
16 * @package uix\ui
17 * @author David Cramer
18 */
19 class footer extends section{
20
21 /**
22 * The type of object
23 *
24 * @since 1.0.0
25 * @access public
26 * @var string
27 */
28 public $type = 'footer';
29
30
31
32 /**
33 * Render the Control
34 *
35 * @since 1.0.0
36 * @see \uix\ui\uix
37 * @access public
38 * @return string HTML of rendered box
39 */
40 public function render(){
41
42 $output = $this->render_template();
43 if( !empty( $this->child ) )
44 $output .= $this->render_children();
45
46 return $output;
47 }
48
49
50
51 }