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

Constructor & Destructor Documentation

◆ __construct()

HoldingsListEntry::__construct (   $node,
  $mms_id 
)

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

2966 {
2967 $this->xml = new DomDocument();
2968 $this->xml->appendChild($this->xml->importNode($node, true));
2969 $this->el_override['mms_id'] = $mms_id;
2970 }

Member Function Documentation

◆ getItemList()

HoldingsListEntry::getItemList (   $limit = -1 )

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

2973 {
2974 global $grima;
2975 $this->getMmsIfNeeded();
2976 $this->itemList = new ItemList($this['mms_id'], $this['holding_id'], $limit);
2977 }
class ItemList
Definition: grima-lib.php:2987
$grima
Definition: grima-lib.php:5143

References $grima.

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

◆ $xml

HoldingsListEntry::$xml

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


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