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

class HoldingsListEntry More...

Inheritance diagram for HoldingsListEntry:
AlmaObject

Public Member Functions

 __construct ($node, $mms_id)
 
 getItemList ($limit=-1)
 
- Public Member Functions inherited from AlmaObject
 __construct ()
 create new blank Alma Object More...
 
 offsetExists ($offset)
 
 offsetGet ($offset)
 
 offsetSet ($offset, $value)
 
 offsetUnset ($offset)
 

Public Attributes

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

Protected Attributes

 $el_address
 

Detailed Description

class HoldingsListEntry

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

Constructor & Destructor Documentation

◆ __construct()

HoldingsListEntry::__construct (   $node,
  $mms_id 
)

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

2117  {
2118  $this->xml = new DomDocument();
2119  $this->xml->appendChild($this->xml->importNode($node,true));
2120  $this->el_override['mms_id'] = $mms_id;
2121  }

Member Function Documentation

◆ getItemList()

HoldingsListEntry::getItemList (   $limit = -1)

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

References $grima.

2123  {
2124  global $grima;
2125  $this->getMmsIfNeeded();
2126  $this->itemList = new ItemList($this['mms_id'], $this['holding_id'], $limit);
2127  }
$grima
Definition: grima-lib.php:1166
class ItemList
Definition: grima-lib.php:2134

Member Data Documentation

◆ $el_address

HoldingsListEntry::$el_address
protected
Initial value:
= array(
'holding_id' => '//holding_id',
'call_number' => '//holding/call_number',
'library_code' => '//holding/library',
'library' => '//holding/library/@desc',
'location_code' => '//holding/location',
'location' => '//holding/location/@desc'
)

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

◆ $xml

HoldingsListEntry::$xml

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


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