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 2509 of file grima-lib.php.

Constructor & Destructor Documentation

◆ __construct()

HoldingsListEntry::__construct (   $node,
  $mms_id 
)

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

2520  {
2521  $this->xml = new DomDocument();
2522  $this->xml->appendChild($this->xml->importNode($node,true));
2523  $this->el_override['mms_id'] = $mms_id;
2524  }

Member Function Documentation

◆ getItemList()

HoldingsListEntry::getItemList (   $limit = -1 )

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

References $grima.

2526  {
2527  global $grima;
2528  $this->getMmsIfNeeded();
2529  $this->itemList = new ItemList($this['mms_id'], $this['holding_id'], $limit);
2530  }
$grima
Definition: grima-lib.php:4293
class ItemList
Definition: grima-lib.php:2537

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 2510 of file grima-lib.php.

◆ $xml

HoldingsListEntry::$xml

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


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