|
|
@ -909,8 +909,10 @@ RDF; |
|
|
|
* Dunno, refer to underlying functions/SOAP interface. We just pass it like a chump. |
|
|
|
* Dunno, refer to underlying functions/SOAP interface. We just pass it like a chump. |
|
|
|
* @param string $logMessage |
|
|
|
* @param string $logMessage |
|
|
|
* A message for the audit log. |
|
|
|
* A message for the audit log. |
|
|
|
|
|
|
|
* @param boolean $quiet |
|
|
|
|
|
|
|
* Error suppression? Refer to soap_call for usage (just passed along here). |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
function modify_datastream($filename_or_content, $dsid, $label, $mime_type, $force = FALSE, $logMessage='Modified by Islandora API') { |
|
|
|
function modify_datastream($filename_or_content, $dsid, $label, $mime_type, $force = FALSE, $logMessage='Modified by Islandora API', $quiet=FALSE) { |
|
|
|
//Determine if it's inline xml; if it is, modify by value |
|
|
|
//Determine if it's inline xml; if it is, modify by value |
|
|
|
if ($this->get_datastream($dsid)->controlGroup === 'X') { |
|
|
|
if ($this->get_datastream($dsid)->controlGroup === 'X') { |
|
|
|
$content = '<null/>'; |
|
|
|
$content = '<null/>'; |
|
|
|