Grima  2018-08
Whispering into Alma's ear
Public Member Functions | Public Attributes | List of all members
Location Class Reference

class Location More...

Inheritance diagram for Location:
AlmaObject

Public Member Functions

 loadFromAlma ($libraryCode, $locationCode)
 populate location with info from Alma More...
 
- Public Member Functions inherited from AlmaObject
 __construct ()
 create new blank Alma Object More...
 
 offsetExists ($offset)
 
 offsetGet ($offset)
 
 offsetSet ($offset, $value)
 
 offsetUnset ($offset)
 

Public Attributes

 $el_address
 
- Public Attributes inherited from AlmaObject
 $el_access = array()
 
 $xml
 
 $templateDir = __DIR__ . "/templates"
 

Detailed Description

class Location

Definition at line 3036 of file grima-lib.php.

Member Function Documentation

◆ loadFromAlma()

Location::loadFromAlma (   $libraryCode,
  $locationCode 
)

populate location with info from Alma

Parameters
String$code- code of location to pull from Alma

Definition at line 3048 of file grima-lib.php.

References $grima.

3048  {
3049  global $grima;
3050  $this->xml = $grima->getLocation($libraryCode, $locationCode);
3051  }
$grima
Definition: grima-lib.php:1166

Member Data Documentation

◆ $el_address

Location::$el_address
Initial value:
= array(
'code' => '//code',
'name' => '//name',
)

Definition at line 3037 of file grima-lib.php.


The documentation for this class was generated from the following file: