-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPage.php
50 lines (45 loc) · 908 Bytes
/
Page.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?php
namespace Dahl\PhpTerm;
/**
* Page Class.
*
* @uses Window
* @copyright Copyright (C) 2015 Albert Dahlin
* @author Albert Dahlin <[email protected]>
* @license GNU GPL v3.0 <http://www.gnu.org/licenses/gpl-3.0.html>
*/
class Page extends Window
{
/**
* Window
*
* @var Window
* @access protected
*/
protected $_window;
/**
* Constructor
*
* @param Window $window
* @access public
* @return void
*/
public function __construct($window)
{
$this->_window = $window;
$this->_input = $window->getInput();
$this->_output = $window->getOutput();
}
/**
* Render page.
*
* @param boolean $force
* @access public
* @return void
*/
public function render($force = false)
{
$this->_output->cls();
return parent::render($force);
}
}