Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
brookinsconsulting committed Dec 30, 2014
2 parents b28b978 + 8dc9421 commit b51fce4
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 1 deletion.
32 changes: 32 additions & 0 deletions Search/Document.php
@@ -0,0 +1,32 @@
<?php
/**
* File containing the eZ\Publish\SPI\Persistence\Content\Search\Document class
*
* @copyright Copyright (C) eZ Systems AS. All rights reserved.
* @license For full copyright and license information view LICENSE file distributed with this source code.
* @version //autogentag//
*/

namespace eZ\Publish\SPI\Search;

use eZ\Publish\API\Repository\Values\ValueObject;

/**
* Base class for documents.
*/
class Document extends ValueObject
{
/**
* An array of fields
*
* @var \eZ\Publish\SPI\Search\Field[]
*/
public $fields = array();

/**
* An array of sub-documents
*
* @var \eZ\Publish\SPI\Search\Document[]
*/
public $documents = array();
}
3 changes: 2 additions & 1 deletion Search/Handler.php
Expand Up @@ -83,6 +83,7 @@ public function deleteContent( $contentId, $versionId = null );
* Deletes a location from the index
*
* @param mixed $locationId
* @param mixed $contentId
*/
public function deleteLocation( $locationId );
public function deleteLocation( $locationId, $contentId );
}

0 comments on commit b51fce4

Please sign in to comment.