public function getProtection()
    {
        $strURI = Product::$baseProductUri . '/words/' . $this->getFileName() . '/protection';

        $signedURI = Utils::sign($strURI);

        $response = Utils::processCommand($signedURI, 'GET', '', '');

        $json = json_decode($response);

        if ($json->Code == 200)
            return $json->ProtectionData->ProtectionType;
        else
            return false;
    }
public function getProtection()
    {
        $strURI = Product::$baseProductUri . '/words/' . $this->getFileName() . '/protection';

        $signedURI = Utils::sign($strURI);

        $response = Utils::processCommand($signedURI, 'GET', '', '');

        $json = json_decode($response);

        if ($json->Code == 200)
            return $json->ProtectionData->ProtectionType;
        else
            return false;
    }
public function getProtection ( ) { $ strURI = Product :: $ baseProductUri . '/words/' . $ this -> getFileName ( ) . '/protection' ; $ signedURI = Utils :: sign ( $ strURI ) ; $ response = Utils :: processCommand ( $ signedURI , 'GET' , '' , '' ) ; $ json = json_decode ( $ response ) ; if ( $ json -> Code == 200 ) return $ json -> ProtectionData -> ProtectionType ; else return false ; }
Get the Current Protection of the Word

@return string|boolean
Get the Current Protection of the Word