3 class_exists('DB_DataObject') ? '' : require_once 'DB/DataObject.php';
5 class Pman_Core_DataObjects_Core_ip_access extends DB_DataObject
8 /* the code below is auto generated do not remove the above tag */
10 public $__table = 'core_ip_access';
15 public $authorized_by;
16 public $authorized_key;
18 /* the code above is auto generated do not remove the tag below */
21 function applyFilters($q, $au)
26 var $template = 'ip_access_xmpp.html';
30 $ff = HTML_FlexyFramework::get();
33 empty($ff->Pman['ip_management']) ||
34 empty($ff->Pman['XMPP']) ||
35 empty($ff->Pman['XMPP']['username']) ||
36 empty($ff->Pman['XMPP']['password']) ||
37 empty($ff->Pman['XMPP']['to'])
42 $template_engine = new HTML_Template_Flexy();
43 $template_engine->compile($this->masterTemplate);
45 $fn = $this->tempName('html');
47 file_put_contents($fn, $template_engine->bufferedOutputObject($this, $this->elements));