File: PHPReportColParm.php

package info (click to toggle)
phpreports 0.3.6-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 620 kB
  • ctags: 1,149
  • sloc: php: 2,668; xml: 157; makefile: 29; python: 10; sh: 2
file content (26 lines) | stat: -rwxr-xr-x 598 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?php
	class PHPReportColParm {
		var $_sName;	// parameter name
		var $_sValue;	// parameter value

		/*
			This is the smaller class on the report - control the
			parameters name and values. Since we dont need to change
			its values while running, I just created the "get" methods.
		*/
		function PHPReportColParm($sName_=null,$sValue_=null) {
			$this->_sName=$sName_;
			$this->_sValue=$sValue_;
		}

		// returns the parameter name
		function getName() {
			return strtoupper($this->_sName);
		}

		// returns the parameter value
		function getValue() {
			return $this->_sValue;
		}
	}
?>