Class ignore

Description

BuddyServ IRC Services

Ignore object handler.

Located in /includes/class/Class.ignore.php (line 24)


	
			
Method Summary
bool delete ()
void exists (string $mask)
bool|ignore get (string $mask)
void is (string $mask)
void populate ()
void runExpire ()
bool save ()
Methods
delete (line 94)

Removes the current ignore from the database, and unsets it from the list.

Returns true/false.

bool delete ()
exists (line 145)

Check if a given mask is an ignore instance. This is NOT for checking if someone is ignored.

void exists (string $mask)
  • string $mask
get (line 79)

Gets an instance of ignore matching the given mask.

Returns false if not found.

bool|ignore get (string $mask)
  • string $mask
is (line 163)

Check if the given mask matches an ignore entry.

If it does, returns true, else false.

void is (string $mask)
  • string $mask
populate (line 41)

Populate the list of ignore entries from the database

void populate ()
runExpire (line 183)

Checks the ignores, and deletes the ones that have expired.

void runExpire ()
save (line 115)

Save the current ignore instance to the database and sets the id of the new entry.

Also adds it to the list of active ignores.

bool save ()

Documentation generated on Thu, 17 Dec 2009 22:41:23 -0700 by phpDocumentor 1.4.1