function display($var) { if ($var === 'made_by') { return $this->getParentName('made_by'); } return parent::display($var); }
function display($var) { if ($var === 'paid') { return $this->getTotalPaid(); } return parent::display($var); }
function display($var) { global $gbl, $sgbl, $login, $ghtml; if ($var === "devname") { if (csa($this->{$var}, "-")) { list($name, $num) = explode("-", $this->{$var}); return "{$name}:{$num}"; } return $this->{$var}; } if ($var === 'clientname') { if (!$this->{$var}) { return 'Unassigned'; } } if ($var === 'used_f') { $this->createGblIfNotExist(); if (array_search_bool($this->ipaddr, $gbl->__var_ip_domainlist)) { return 'on'; } else { return 'dull'; } } return parent::display($var); }
function display($var) { if ($var === 'destinationdir') { return "http://{$this->getTrueParentO()->nname}/{$this->destinationdir}"; } return parent::display($var); }
function display($var) { if ($var === "logintime") { return lxgettime($this->{$var}); } if ($var === 'logouttime') { if ($this->{$var} !== 'Still Logged') { return lxgettime($this->{$var}); } } return parent::display($var); }
function display($var) { if ($var === 'pserver_list') { $string = implode(',', get_namelist_from_objectlist($this->ippserver_a)); if (strlen($string) > 21) { $string = substr($string, 0, 21) . "..."; } $this->{$var} = $string; } if ($var === 'stat_f') { return $this->getStat_f(); } return parent::display($var); }
function display($var) { /* if ($var === 'nname') { return ucfirst($this->nname); } */ return parent::display($var); }
function display($var) { global $gbl, $sgbl, $login, $ghtml; if ($var === 'state' || $var === 'boot_state') { if ($this->install_state === 'dull') { return 'dull'; } } return parent::display($var); }
function display($var) { if ($var === 'installapp_flag') { if ($this->{$var} === 'on') { return 'on'; } else { return "dull"; } } return parent::display($var); }
function display($var) { if ($var === 'text_sent_to_cmlist') { if ($this->getParentO()->getClName() === $this->made_by) { $v = $this->convertClCmToNameCm($this->text_sent_to_cmlist); if (strlen($v) > 25) { $v = substr($v, 0, 25); $v .= "..."; } return $v; } else { return $this->getParentO()->nname; } } if ($var === 'unread_flag_f') { if (exists_in_coma($this->text_sent_to_cmlist, $this->getParentO()->getClName())) { if (exists_in_coma($this->text_readby_cmlist, $this->getParentO()->getClName())) { $this->unread_flag_f = 'dull'; } else { $this->unread_flag_f = 'on'; } } else { $this->unread_flag_f = 'dull'; } return $this->unread_flag_f; } if ($var === 'made_by') { return $this->getParentName('made_by'); } return parent::display($var); }