| 1 | <?php |
||
| 5 | class Popup |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * Popup configuration array |
||
| 9 | * |
||
| 10 | * @var array |
||
| 11 | */ |
||
| 12 | private $config = array(); |
||
| 13 | |||
| 14 | /** |
||
| 15 | * Constructor |
||
| 16 | * |
||
| 17 | * @param array $config |
||
| 18 | */ |
||
| 19 | public function __construct(array $config = array()) |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Get a configuration argument by name |
||
| 26 | * |
||
| 27 | * @param string $name |
||
| 28 | * @return void |
||
| 29 | */ |
||
| 30 | public function __get( $name ) |
||
| 37 | |||
| 38 | /** |
||
| 39 | * Render the popup |
||
| 40 | * |
||
| 41 | * @return void |
||
| 42 | */ |
||
| 43 | public function render() |
||
| 49 | } |