Subversion-Projekte lars-tiefland.openvz_admin

Revision

Revision 84 | Revision 86 | Zur aktuellen Revision | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 84 Revision 85
Zeile 14... Zeile 14...
14
		protected $ip;
14
		protected $ip;
15
		protected $name;
15
		protected $name;
16
		protected $ve_start;
16
		protected $ve_start;
17
		protected $ve_end;
17
		protected $ve_end;
Zeile 18... Zeile 18...
18
		
18
		
19
		function __construct($ip=NULL,$name,$ve_start,$ve_end)
19
		function __construct($ip=NULL,$name="",$ve_start="101",$ve_end="199")
20
		{
20
		{
21
			global $db;
21
			global $db;
22
			if(!is_null($ip))
22
			if(!is_null($ip))
23
			{
23
			{
Zeile 32... Zeile 32...
32
			}
32
			}
33
			else
33
			else
34
			{
34
			{
35
				$this->id=0;
35
				$this->id=0;
36
				$this->ip=$ip;
36
				$this->ip=$ip;
37
				$this->used=$used;
37
				$this->name=$name;
38
				$this->dns=$dns;
38
				$this->ve_start=$ve_start;
39
				$this->gw=$gw;
39
				$this->ve_end=$ve_end;
40
			}
40
			}
41
		}
41
		}
Zeile 42... Zeile 42...
42
		
42
		
43
		function toArray()
43
		function toArray()