|
|
@ -322,7 +322,21 @@ class IslandoraFedoraObject extends FedoraObject { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
class IslandoraRepositoryConnection extends RepositoryConnection {} |
|
|
|
class IslandoraRepositoryConnection extends RepositoryConnection { |
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* Constructor. |
|
|
|
|
|
|
|
* |
|
|
|
|
|
|
|
* Invokes parent, but additionally invokes an alter to allow modules to |
|
|
|
|
|
|
|
* effect the configuration of the connection. |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
public function __construct($url = NULL, $username = NULL, $password = NULL) { |
|
|
|
|
|
|
|
if ($url === NULL) { |
|
|
|
|
|
|
|
$url = static::FEDORA_URL; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
parent::__construct($url, $username, $password); |
|
|
|
|
|
|
|
drupal_alter('islandora_repository_connection_construction', $this); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
class IslandoraFedoraApi extends FedoraApi { |
|
|
|
class IslandoraFedoraApi extends FedoraApi { |
|
|
|
|
|
|
|
|
|
|
|