diff options
| author | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-01-30 13:36:22 +0000 |
|---|---|---|
| committer | osmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2006-01-30 13:36:22 +0000 |
| commit | 590c504db086ba2851c46b42c3c5eff26d5c3f82 (patch) | |
| tree | 20a449b894b55cea17842644b2ea3a9ec4b1c17f /frontends/php/include/classes | |
| parent | ef6e579a6bc15719dd4a61f3066e80b7ecf9520e (diff) | |
| download | zabbix-590c504db086ba2851c46b42c3c5eff26d5c3f82.tar.gz zabbix-590c504db086ba2851c46b42c3c5eff26d5c3f82.tar.xz zabbix-590c504db086ba2851c46b42c3c5eff26d5c3f82.zip | |
- added Check All functionality (Eugene)
git-svn-id: svn://svn.zabbix.com/trunk@2575 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/classes')
| -rw-r--r-- | frontends/php/include/classes/cformtable.inc.php | 4 | ||||
| -rw-r--r-- | frontends/php/include/classes/ctag.inc.php | 15 |
2 files changed, 15 insertions, 4 deletions
diff --git a/frontends/php/include/classes/cformtable.inc.php b/frontends/php/include/classes/cformtable.inc.php index d42cbae6..75713834 100644 --- a/frontends/php/include/classes/cformtable.inc.php +++ b/frontends/php/include/classes/cformtable.inc.php @@ -92,10 +92,6 @@ } return 0; } - function GetName() - { - return $this->GetOption("name"); - } function AddVar($name, $value) { $this->AddItemToTopRow(new CVar($name, $value)); diff --git a/frontends/php/include/classes/ctag.inc.php b/frontends/php/include/classes/ctag.inc.php index 7d4519fc..cf31f685 100644 --- a/frontends/php/include/classes/ctag.inc.php +++ b/frontends/php/include/classes/ctag.inc.php @@ -58,6 +58,21 @@ $this->name=$value; return 0; } + function SetName($value=NULL) + { + if(is_null($value)) + return $this->DelOption("name");; + + if(!is_string($value)) + { + return $this->error("Incorrect value for SetClass [$value]"); + } + return $this->AddOption("name",$value); + } + function GetName() + { + return $this->GetOption("name"); + } function SetClass($value) { if(is_null($value)) |
