public function __construct() { parent::__construct(); // Set the elements. include 'elements.php'; $this->_elements = $elements; }
public function __construct() { parent::__construct(); // Set the elements. include 'elements.php'; $this->_elements = $elements; $this->_elementSet = $elementSetMetadata; $this->_elementSetName = $elementSetMetadata['name']; }
/** * Load the objects table. */ public function __construct() { parent::__construct(); $this->_objects = $this->_db->getTable('FedoraConnectorObject'); // TODO : add this to admin config page set_option('maxFedoraImageWidth', $this->maxImageWidth); set_option('maxFedoraImageHeight', $this->maxImageHeight); set_option('fedoraImageServerURL', $this->imageServerURL); set_option('digitalCaseThumbnailURL', $this->digitalCaseThumbnailURL); set_option('fedoraDigitalCaseURL', $this->digitalCaseURL); set_option('belowFedoraImageMessage', $this->belowImageMessage); }
/** * Plugin constructor. * * Requires class autoloader, and calls parent constructor. */ public function __construct() { require 'vendor/autoload.php'; parent::__construct(); }