File: PHPReportForm.php

package info (click to toggle)
phpreports 0.4.9-2.1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 684 kB
  • ctags: 1,426
  • sloc: php: 3,377; xml: 203; makefile: 29; sql: 18; sh: 17; python: 10
file content (42 lines) | stat: -rwxr-xr-x 755 bytes parent folder | download | duplicates (3)
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?php
	class PHPReportForm extends PHPReportXMLElement {
		var $sName;
		var $sMethod;
		var $sAction;

		function PHPReportForm() {
			$this->sName=null;
			$this->sMethod=null;
			$this->sAction=null;
		}

		function setName($sName_) {
			$this->sName=$sName_;
		}
		function getName(){
			return $this->sName;
		}
		
		function setMethod($sMethod_) {
			$this->sMethod=$sMethod_;
		}
		function getMethod(){
			return $this->sMethod;
		}
		
		function setAction($sAction_) {
			$this->sAction=$sAction_;
		}
		function getAction(){
			return $this->sAction;
		}

		function getXMLOpen() {
			return "<FORM NAME='".$this->sName."' METHOD='".$this->sMethod."' ACTION='".$this->sAction."'>";
		}

		function getXMLClose() {
			return "</FORM>";
		}
	}
?>