Skip Navigation

University of Nebraska–Lincoln

UNL_Common_Building_Info API Documentation

Developers, developers, developers, devel…

Class UNL_Common_Building_Info

Description

Located in /Info.php (line 12)


	
			
Variable Summary
static mixed $db_file
mixed $bldgs
Method Summary
static void getDataDir ()
static void getDB ()
static void getTableDefinition ()
static void importCSV ( $table,  $filename)
static void tableExists ( $table)
static void __connect ()
UNL_Common_Building_Info __construct ()
bool buildingExists (string $code)
string getHtml (string $code)
void _checkDB ()
Variables
static mixed $db_file = 'building_info.sqlite' (line 16)
  • access: public
mixed $bldgs (line 14)
  • access: public
Methods
static method getDataDir (line 102)
  • access: public
static void getDataDir ()
static method getDB (line 55)
static void getDB ()
static method getTableDefinition (line 110)
  • access: public
static void getTableDefinition ()
static method importCSV (line 78)
static void importCSV ( $table,  $filename)
  • $table
  • $filename
static method tableExists (line 63)
static void tableExists ( $table)
  • $table
static method __connect (line 70)
  • access: protected
static void __connect ()
Constructor __construct (line 20)
UNL_Common_Building_Info __construct ()
buildingExists (line 30)

Checks if a building with the given code exists.

  • return: true|false
bool buildingExists (string $code)
  • string $code: Building code.
getHtml (line 41)

Returns a HTML snippet of information about a building on campus.

  • return: Snippet of text description.
string getHtml (string $code)
  • string $code: Building Code for the building you want coordinates of.
_checkDB (line 94)
  • access: protected
void _checkDB ()

Documentation generated on Wed, 12 Aug 2009 13:00:37 -0500 by phpDocumentor 1.4.2