PHP Class Wallmander\ElasticsearchIndexer\Model\Query

Author: Mikael Mattsson ([email protected])
Inheritance: extends Client, use trait Wallmander\ElasticsearchIndexer\Model\Query\BuilderTrait
Afficher le fichier Open project: wallmanderco/elasticsearch-indexer Class Usage Examples

Méthodes publiques

Свойство Type Description
$disabled boolean
$found_posts integer
$posts array
$updatePostMetaCache boolean
$updatePostTermCache boolean
$wp_query WP_Quer\WP_Query | null

Méthodes publiques

Méthode Description
__construct ( )
applyWpQuery ( WP_Query $wpQuery )
formatArgs ( WP_Query $wpQuery )
fromWpQuery ( WP_Query $wpQuery ) : Query
getPosts ( ) : array | boolean

Method Details

__construct() public méthode

public __construct ( )

applyWpQuery() public méthode

public applyWpQuery ( WP_Query $wpQuery )
$wpQuery WP_Query

formatArgs() public méthode

public formatArgs ( WP_Query $wpQuery )
$wpQuery WP_Query

fromWpQuery() public static méthode

public static fromWpQuery ( WP_Query $wpQuery ) : Query
$wpQuery WP_Query
Résultat Query

getPosts() public méthode

public getPosts ( ) : array | boolean
Résultat array | boolean

Property Details

$disabled public_oe property

public bool $disabled
Résultat boolean

$found_posts public_oe property

public int $found_posts
Résultat integer

$posts public_oe property

public array $posts
Résultat array

$updatePostMetaCache public_oe property

public bool $updatePostMetaCache
Résultat boolean

$updatePostTermCache public_oe property

public bool $updatePostTermCache
Résultat boolean

$wp_query public_oe property

public WP_Query,WP_Quer|null $wp_query
Résultat WP_Quer\WP_Query | null