public function getDocumentProperty($propertyName = '')
    {

        if ($propertyName == '')
            throw new Exception('Property name not specified');

        //build URI to replace image
        $strURI = Product::$baseProductUri . '/pdf/' . $this->getFileName() . '/documentProperties/' . $propertyName;

        //sign URI
        $signedURI = Utils::sign($strURI);
        $responseStream = Utils::processCommand($signedURI, 'GET', '', '');

        $response_arr = json_decode($responseStream);

        return $response_arr->DocumentProperty;
    }
public function getDocumentProperty($propertyName = '')
    {

        if ($propertyName == '')
            throw new Exception('Property name not specified');

        //build URI to replace image
        $strURI = Product::$baseProductUri . '/pdf/' . $this->getFileName() . '/documentProperties/' . $propertyName;

        //sign URI
        $signedURI = Utils::sign($strURI);
        $responseStream = Utils::processCommand($signedURI, 'GET', '', '');

        $response_arr = json_decode($responseStream);

        return $response_arr->DocumentProperty;
    }
public function getDocumentProperty ( $ propertyName = '' ) { if ( $ propertyName == '' ) throw new Exception ( 'Property name not specified' ) ; //build URI to replace image $ strURI = Product :: $ baseProductUri . '/pdf/' . $ this -> getFileName ( ) . '/documentProperties/' . $ propertyName ; //sign URI $ signedURI = Utils :: sign ( $ strURI ) ; $ responseStream = Utils :: processCommand ( $ signedURI , 'GET' , '' , '' ) ; $ response_arr = json_decode ( $ responseStream ) ; return $ response_arr -> DocumentProperty ; }
Get specified properity of the document.

@param string $propertyName Name of the property.

@return object
@throws Exception
Get specified properity of the document .