infoboxData ); if ( $this->externalParser ) { $nodeFactory->setExternalParser( $this->externalParser ); } return [ 'value' => $nodeFactory->getDataFromNodes( $this->xmlNode, $this ) ]; } public function isEmpty( $data ) { foreach ( $data[ 'value' ] as $group ) { if ( $group[ 'isEmpty' ] == false ) { return false; } } return true; } }