purgeIndex() abstract public method

Deletes all documents of a given $type from the index.
abstract public purgeIndex ( string $type )
$type string
コード例 #1
0
 /**
  * Purges all contents from the index
  *
  * @todo: Make this public API?
  *
  * @return void
  */
 public function purgeIndex()
 {
     $this->gateway->purgeIndex("location");
 }
コード例 #2
0
ファイル: Handler.php プロジェクト: nlescure/ezpublish-kernel
 /**
  * Purges all contents from the index
  *
  * @todo: Make this public API?
  *
  * @return void
  */
 public function purgeIndex()
 {
     $this->gateway->purgeIndex($this->documentTypeName);
 }
コード例 #3
0
ファイル: Handler.php プロジェクト: Pixy/ezpublish-kernel
 /**
  * Purges all contents from the index.
  *
  * @todo: Make this public API?
  */
 public function purgeIndex()
 {
     $this->gateway->purgeIndex($this->contentDocumentTypeIdentifier);
     $this->gateway->purgeIndex($this->locationDocumentTypeIdentifier);
 }
コード例 #4
0
 /**
  * Purges all contents from the index
  *
  * @todo: Make this public API?
  *
  * @return void
  */
 public function purgeIndex()
 {
     $this->gateway->purgeIndex("content");
 }