diff options
Diffstat (limited to 'SemanticMediaWiki/includes/query/profiler/FormatProfile.php')
-rw-r--r-- | SemanticMediaWiki/includes/query/profiler/FormatProfile.php | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/SemanticMediaWiki/includes/query/profiler/FormatProfile.php b/SemanticMediaWiki/includes/query/profiler/FormatProfile.php deleted file mode 100644 index 6341975f..00000000 --- a/SemanticMediaWiki/includes/query/profiler/FormatProfile.php +++ /dev/null @@ -1,50 +0,0 @@ -<?php - -namespace SMW\Query\Profiler; - -use SMW\DIProperty; -use SMWDIBlob as DIBlob; - -/** - * Provides access to Format profiling data - * - * @ingroup SMW - * - * @licence GNU GPL v2+ - * @since 1.9 - * - * @author mwjames - */ -class FormatProfile extends ProfileAnnotatorDecorator { - - /** @var array */ - protected $format; - - /** - * @since 1.9 - * - * @param ProfileAnnotator $profileAnnotator - */ - public function __construct( ProfileAnnotator $profileAnnotator, $format ) { - parent::__construct( $profileAnnotator ); - $this->format = $format; - } - - /** - * @since 1.9 - */ - protected function addPropertyValues() { - $this->addQueryFormat( $this->format ); - } - - /** - * @since 1.9 - */ - private function addQueryFormat( $format ) { - $this->getSemanticData()->addPropertyObjectValue( - new DIProperty( '_ASKFO' ), - new DIBlob( $format ) - ); - } - -}
\ No newline at end of file |