protected function doCopyrightLicense( $metadata, $title = '', $id = 0, $section_author = '' ) {

		if ( ! empty( $section_author ) ) {
			_deprecated_argument( __METHOD__, '4.1.0' );
		}

		try {
			$licensing = new \Pressbooks\Licensing();
			return $licensing->doLicense( $metadata, $id, $title );
		} catch ( \Exception $e ) {
			$this->logError( $e->getMessage() );
		}
		return '';
	}
protected function doCopyrightLicense( $metadata, $title = '', $id = 0, $section_author = '' ) {

		if ( ! empty( $section_author ) ) {
			_deprecated_argument( __METHOD__, '4.1.0' );
		}

		try {
			$licensing = new \Pressbooks\Licensing();
			return $licensing->doLicense( $metadata, $id, $title );
		} catch ( \Exception $e ) {
			$this->logError( $e->getMessage() );
		}
		return '';
	}
protected function doCopyrightLicense ( $ metadata , $ title = '' , $ id = 0 , $ section_author = '' ) { if ( ! empty ( $ section_author ) ) { _deprecated_argument ( __METHOD__ , '4.1.0' ) ; } try { $ licensing = new \ Pressbooks \ Licensing ( ) ; return $ licensing -> doLicense ( $ metadata , $ id , $ title ) ; } catch ( \ Exception $ e ) { $ this -> logError ( $ e -> getMessage ( ) ) ; } return '' ; }
Will create an html blob of copyright, returns empty string if something goes wrong

@param array $metadata
@param string $title (optional)
@param int $id (optional)
@param string $section_author (deprecated)

@return string $html blob
Will create an html blob of copyright returns empty string if something goes wrong