PHP 클래스 Give_Payments_Query, Give

This class is for retrieving payments data. Payments can be retrieved for date ranges and pre-defined periods.
부터: 1.0
상속: extends Give_Stats
파일 보기 프로젝트 열기: wordimpress/give 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$args array The args to pass to the give_get_payments() query
$payments array The payments found based on the criteria set

공개 메소드들

메소드 설명
__construct ( $args = [] ) Default query arguments.
__set ( $query_var, $value ) Set a query variable.
__unset ( $query_var ) Unset a query variable.
children ( ) : void Children
date_filter_post ( ) : void If querying a specific date, remove filters after the query has been run to avoid affecting future queries.
date_filter_pre ( ) : void If querying a specific date, add the proper filters.
get_payments ( ) : object Retrieve payments.
give_forms ( ) : void Specific Give Form
init ( ) : void Modify the query/query arguments before we retrieve payments.
mode ( ) : void Payment Mode
month ( ) : void Current Month
orderby ( ) : void Order by
page ( ) : void Current Page
per_page ( ) : void Posts Per Page
search ( ) : void Search
status ( ) : void Post Status
user ( ) : void Specific User

메소드 상세

__construct() 공개 메소드

Not all of these are valid arguments that can be passed to WP_Query. The ones that are not, are modified before the query is run to convert them to the proper syntax.
부터: 1.0
public __construct ( $args = [] )
$args array The array of arguments that can be passed in and used for setting up this payment query.

__set() 공개 메소드

Set a query variable.
부터: 1.0
public __set ( $query_var, $value )

__unset() 공개 메소드

Unset a query variable.
부터: 1.0
public __unset ( $query_var )

children() 공개 메소드

Children
부터: 1.0
public children ( ) : void
리턴 void

date_filter_post() 공개 메소드

If querying a specific date, remove filters after the query has been run to avoid affecting future queries.
부터: 1.0
public date_filter_post ( ) : void
리턴 void

date_filter_pre() 공개 메소드

If querying a specific date, add the proper filters.
부터: 1.0
public date_filter_pre ( ) : void
리턴 void

get_payments() 공개 메소드

The query can be modified in two ways; either the action before the query is run, or the filter on the arguments (existing mainly for backwards compatibility).
부터: 1.0
public get_payments ( ) : object
리턴 object

give_forms() 공개 메소드

Specific Give Form
부터: 1.0
public give_forms ( ) : void
리턴 void

init() 공개 메소드

Modify the query/query arguments before we retrieve payments.
부터: 1.0
public init ( ) : void
리턴 void

mode() 공개 메소드

Payment Mode
부터: 1.0
public mode ( ) : void
리턴 void

month() 공개 메소드

Current Month
부터: 1.0
public month ( ) : void
리턴 void

orderby() 공개 메소드

Order by
부터: 1.0
public orderby ( ) : void
리턴 void

page() 공개 메소드

Current Page
부터: 1.0
public page ( ) : void
리턴 void

per_page() 공개 메소드

Posts Per Page
부터: 1.0
public per_page ( ) : void
리턴 void

status() 공개 메소드

Post Status
부터: 1.0
public status ( ) : void
리턴 void

user() 공개 메소드

Specific User
부터: 1.0
public user ( ) : void
리턴 void

프로퍼티 상세

$args 공개적으로 프로퍼티

The args to pass to the give_get_payments() query
부터: 1.0
public array $args
리턴 array

$payments 공개적으로 프로퍼티

The payments found based on the criteria set
부터: 1.0
public array $payments
리턴 array