File: PHPReportImg.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 (52 lines) | stat: -rwxr-xr-x 931 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?php
	class PHPReportImg{
		var $_sURL;
		var $_iWidth;
		var $_iHeight;
		var $_iBorder;
		var $_sAlt;

		function PHPReportImg($sURL_=null,$iWidth_=-1,$iHeight_=-1,$iBorder_=-1,$sAlt_=null){
			$this->_sURL=$sURL_;
			$this->_iWidth=$iWidth_;
			$this->_iHeight=$iHeight_;
			$this->_iBorder_=$iBorder_;
			$this->_sAlt=$sAlt_;
		}

		function setURL($sURL_=null){
			$this->_sURL=$sURL_;
		}
		function getURL(){
			return $this->_sURL;
		}

		function setWidth($iWidth_=-1){
			$this->_iWidth=$iWidth_;
		}
		function getWidth(){
			return $this->_iWidth;
		}

		function setHeight($iHeight_=-1){
			$this->_iHeight=$iHeight_;
		}
		function getHeight(){
			return $this->_iHeight;
		}

		function setBorder($iBorder_=-1){
			$this->_iBorder=$iBorder_;
		}
		function getBorder(){
			return $this->_iBorder;
		}

		function setAlt($sAlt_=-1){
			$this->_sAlt=$sAlt_;
		}
		function getAlt(){
			return $this->_sAlt;
		}
	}
?>