/** * @param bool|StorageLocation $location */ public function includeOptionsForm($location = false) { $configuration = $this->getConfigurationObject(); if ($location instanceof StorageLocation) { $configuration = $location->getConfigurationObject(); } \View::element(DIRNAME_FILE_STORAGE_LOCATION_TYPES . '/' . $this->getHandle(), array('type' => $this, 'location' => $location, 'configuration' => $configuration), $this->getPackageHandle()); }
/** * {@inheritDoc} */ public function getConfigurationObject() { $this->__initializer__ && $this->__initializer__->__invoke($this, 'getConfigurationObject', array()); return parent::getConfigurationObject(); }