PHP 클래스 Give_Graph, Give

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

공개 메소드들

메소드 설명
__construct ( $_data ) Get things started
build_graph ( ) : string Build the graph and return it as a string
display ( ) Output the final graph
get ( $key ) Get an option
get_data ( ) Get graph data
load_scripts ( ) Load the graphing library script
set ( $key, $value ) Set an option

메소드 상세

__construct() 공개 메소드

Get things started
부터: 1.0
public __construct ( $_data )

build_graph() 공개 메소드

Build the graph and return it as a string
부터: 1.0
public build_graph ( ) : string
리턴 string

display() 공개 메소드

Output the final graph
부터: 1.0
public display ( )

get() 공개 메소드

Get an option
부터: 1.0
public get ( $key )
$key The option key to get

get_data() 공개 메소드

Get graph data
부터: 1.0
public get_data ( )

load_scripts() 공개 메소드

Load the graphing library script
부터: 1.0
public load_scripts ( )

set() 공개 메소드

Set an option
부터: 1.0
public set ( $key, $value )
$key The option key to set
$value The value to assign to the key