protected function parseStatusBit($sxcaption)
    {
        if (!$sxcaption instanceof \SimpleXMLElement) {
            return null;
        }

        if ('' !== $inStatus = (string) $sxcaption->status) {
            return $inStatus;
        }

        return null;
    }
protected function parseStatusBit($sxcaption)
    {
        if (!$sxcaption instanceof \SimpleXMLElement) {
            return null;
        }

        if ('' !== $inStatus = (string) $sxcaption->status) {
            return $inStatus;
        }

        return null;
    }
protected function parseStatusBit ( $ sxcaption ) { if ( ! $ sxcaption instanceof \ SimpleXMLElement ) { return null ; } if ( '' !== $ inStatus = ( string ) $ sxcaption -> status ) { return $ inStatus ; } return null ; }
Parse a Phrasea XML to find status tag

@param  \SimpleXMLElement $sxcaption The SimpleXML related to the XML
@return string
Parse a Phrasea XML to find status tag