function display($var) { if ($var === "status_client") { return $this->status; } if ($var === 'owner_f') { if ($this->isRightParent()) { return 'on'; } else { return 'off'; } } if ($var === "pvview") { return ""; } return parent::display($var); }
function display($var) { if ($var === "status_client") { return $this->status; } /* if ($var === 'parent_name_f') { return "_lxspan:{$this->getParentName()}: Ftp {$this->getObject('web')->ftpusername}:"; } */ if ($var === 'docroot') { return $this->getObject('web')->docroot; } return parent::display($var); }