Class gline

Description

BuddyServ IRC Services

Generates GLine network bans, or retrieves from database. Provides all GLine handling capabilities

Located in /includes/class/Class.gline.php (line 26)


	
			
Method Summary
gline __construct ()
bool create (int $expires, string $oper, string $mask, string $reason)
bool del (string $mask)
bool exists (string $mask)
mixed get (string $mask)
void populate ()
void run_expires ()
void __get ( $what)
void __set ( $what,  $value)
Methods
Constructor __construct (line 254)
gline __construct ()
create (line 203)

Create a new gline to add to the database

bool create (int $expires, string $oper, string $mask, string $reason)
  • int $expires
  • string $oper
  • string $mask
  • string $reason
del (line 123)

Delete a gline from our memory

bool del (string $mask)
  • string $mask
exists (line 105)

Check if a gline for the current mask already exists

bool exists (string $mask)
  • string $mask
get (line 146)

Get an instance of a gline object, or returns false if not exist.

mixed get (string $mask)
  • string $mask
populate (line 48)

Grab all the glines from the database and add it to our local memory.

void populate ()
run_expires (line 168)

Expire glines that are past due.

void run_expires ()
__get (line 242)

Magic getter function

void __get ( $what)
  • $what
__set (line 248)
void __set ( $what,  $value)
  • $what
  • $value

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