Subversion-Projekte lars-tiefland.openvz_admin

Revision

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

Revision 133 Revision 134
Zeile 1... Zeile 1...
1
<?php
1
<?php
Zeile 2... Zeile 2...
2
 
2
 
3
	//$Id: hn.class.php 133 2008-05-22 16:48:38Z lars $
3
	//$Id: hn.class.php 134 2008-05-22 16:53:46Z lars $
4
	/**
4
	/**
5
	 * @author Lars Tiefland
5
	 * @author Lars Tiefland
6
	 * @copyright 2008
6
	 * @copyright 2008
7
	 * @package	openvzadmin
7
	 * @package	openvzadmin
Zeile 11... Zeile 11...
11
		protected $id;
11
		protected $id;
12
		protected $ip;
12
		protected $ip;
13
		protected $name;
13
		protected $name;
14
		protected $ve_start;
14
		protected $ve_start;
15
		protected $ve_end;
15
		protected $ve_end;
16
		var $status;
16
		protected $status;
Zeile 17... Zeile 17...
17
		
17
		
18
		function __construct($ip=NULL,$name="",$ve_start="101",$ve_end="199")
18
		function __construct($ip=NULL,$name="",$ve_start="101",$ve_end="199")
19
		{
19
		{
20
			global $db;
20
			global $db;
Zeile 46... Zeile 46...
46
			$out["id"]=$this->id;
46
			$out["id"]=$this->id;
47
			$out["ip"]=$this->ip;
47
			$out["ip"]=$this->ip;
48
			$out["name"]=$this->name;
48
			$out["name"]=$this->name;
49
			$out["ve_start"]=$this->ve_start;
49
			$out["ve_start"]=$this->ve_start;
50
			$out["ve_end"]=$this->ve_end;
50
			$out["ve_end"]=$this->ve_end;
-
 
51
			$out["status"]=$this->status;
51
			return $out;
52
			return $out;
52
		}
53
		}
Zeile 53... Zeile 54...
53
 
54
 
54
		static function getHN($hn_id=1)
55
		static function getHN($hn_id=1)