PHP 클래스 Give_Donators_Gravatars, Give

파일 보기 프로젝트 열기: wordimpress/give 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( ) : void Class Constructor
get_log_ids ( integer $form_id = '' ) : array Get an array of all the log IDs using the Give Logging Class
get_payment_ids ( integer $form_id = '' ) : mixed Get payment ID
gravatars ( integer $form_id = false, string $title = '' ) : string Gravatars
register_widget ( ) : void Register widget
settings ( array $settings ) : array Settings
shortcode ( array $atts, string $content = null ) : string Shortcode
validate_gravatar ( integer | string | object $id_or_email ) : boolean Utility function to check if a gravatar exists for a given email or id

비공개 메소드들

메소드 설명
setup_actions ( ) : void Setup the default hooks and actions

메소드 상세

__construct() 공개 메소드

Set up the Give Donators Gravatars Class.
부터: 1.0
public __construct ( ) : void
리턴 void

get_log_ids() 공개 메소드

Get an array of all the log IDs using the Give Logging Class
부터: 1.0
public get_log_ids ( integer $form_id = '' ) : array
$form_id integer Donation form id
리턴 array IDs if logs, false otherwise

get_payment_ids() 공개 메소드

Get payment ID
부터: 1.0
public get_payment_ids ( integer $form_id = '' ) : mixed
$form_id integer Donation form id
리턴 mixed

gravatars() 공개 메소드

Gravatars
부터: 1.0
public gravatars ( integer $form_id = false, string $title = '' ) : string
$form_id integer Donation form id.
$title string Donators gravatars title.
리턴 string

register_widget() 공개 메소드

Register widget
부터: 1.0
public register_widget ( ) : void
리턴 void

settings() 공개 메소드

Settings
부터: 1.0
public settings ( array $settings ) : array
$settings array Gravatar settings.
리턴 array Gravatar settings.

shortcode() 공개 메소드

Shortcode
부터: 1.0
public shortcode ( array $atts, string $content = null ) : string
$atts array Shortcode attribures.
$content string Shortcode content.
리턴 string

validate_gravatar() 공개 메소드

Utility function to check if a gravatar exists for a given email or id
부터: 1.0
public validate_gravatar ( integer | string | object $id_or_email ) : boolean
$id_or_email integer | string | object A user ID, email address, or comment object
리턴 boolean If the gravatar exists or not