PHP Класс Give_Graph, Give

С версии: 1.0
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__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