This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
2011-07-19 05:57:37 +00:00
|
|
|
<?php defined('SYSPATH') or die('No direct access allowed.');
|
|
|
|
|
|
|
|
/**
|
|
|
|
* This class provides the base for Alarm Panel models
|
|
|
|
*
|
2013-10-17 04:15:13 +00:00
|
|
|
* @package HAlMon
|
2011-07-19 05:57:37 +00:00
|
|
|
* @category Helpers
|
|
|
|
* @author Deon George
|
|
|
|
* @copyright (c) 2010 Deon George
|
|
|
|
* @license http://dev.leenooks.net/license.html
|
|
|
|
*/
|
|
|
|
abstract class Panel {
|
2013-10-17 04:15:13 +00:00
|
|
|
protected $_ao = NULL;
|
|
|
|
protected $_eo = NULL;
|
2011-07-19 05:57:37 +00:00
|
|
|
|
2013-10-17 04:15:13 +00:00
|
|
|
public function __construct(Protocol $eo,Model $ao) {
|
|
|
|
$this->_ao = $ao;
|
|
|
|
$this->_eo = $eo;
|
2011-07-19 05:57:37 +00:00
|
|
|
}
|
|
|
|
|
2013-10-17 04:15:13 +00:00
|
|
|
abstract public function __toString();
|
2011-07-19 05:57:37 +00:00
|
|
|
}
|
|
|
|
?>
|