Class vhost

Description

BuddyServ IRC Services

Main program daemon

Located in /includes/class/Class.vhost.php (line 25)


	
			
Method Summary
bool delete ()
bool deleteByUser ()
bool findById ($id $id, [[id|userid] $typeId = 'id'])
bool findByUser (string $username)
bool save ()
mixed __get (string $what)
unknown_type __set (string $what, mixed $value)
Methods
delete (line 152)

Delete the current virtual host from the database.

bool delete ()
deleteByUser (line 177)

Delete a virtual host using

the vhosts owner as the search criteria.

bool deleteByUser ()
findById (line 72)

Find a virtual host by either its own id, or the id of its owner.

bool findById ($id $id, [[id|userid] $typeId = 'id'])
  • [id|userid] $typeId
  • $id $id
findByUser (line 119)

Looks for a virtual host

using a username as its search method.

  • return: unknown_type
bool findByUser (string $username)
  • string $username
save (line 205)

Saves the current virtual host

to the database as a new entry, or updating the previous entry if exists.

bool save ()
__get (line 41)

Magic getter function.

Returns null if the variable doesnt exist.

mixed __get (string $what)
  • string $what
__set (line 56)

Magic setter

unknown_type __set (string $what, mixed $value)
  • string $what
  • mixed $value

Documentation generated on Thu, 19 Nov 2009 20:25:24 -0700 by phpDocumentor 1.4.1