src/acdhOeaw/schema/dissemination/Service.php
public function addParameter(string $name, string $defaultValue = '',
                                 string $rdfProperty = '_') {
        $id             = $this->getId() . '/param/' . $name;
        $this->params[] = new Parameter(
            $this->fedora, $id, $this, $name, $defaultValue, $rdfProperty
        );
    }
public function addParameter(string $name, string $defaultValue = '',
                                 string $rdfProperty = '_') {
        $id             = $this->getId() . '/param/' . $name;
        $this->params[] = new Parameter(
            $this->fedora, $id, $this, $name, $defaultValue, $rdfProperty
        );
    }
public function addParameter ( string $ name , string $ defaultValue = '' , string $ rdfProperty = '_' ) { $ id = $ this -> getId ( ) . '/param/' . $ name ; $ this -> params [ ] = new Parameter ( $ this -> fedora , $ id , $ this , $ name , $ defaultValue , $ rdfProperty ) ; }
Defines a dissemination service parameter.
@param string $name parameter name
@param string $defaultValue default parameter value
@param string $rdfProperty RDF property holding parameter value in
resources' metadata
Defines a dissemination service parameter .