Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
252 lines (110 sloc) 5.26 KB

Module ephp_func

Data Types

config_param()


config_param() = mixed()

config_section()


config_section() = binary()

default_value()


default_value() = mixed()

error_return_value()


error_return_value() = mixed()

max_args()


max_args() = non_neg_integer()

min_args()


min_args() = non_neg_integer()

php_config_results()


php_config_results() = [{config_section(), [config_param()]}]

php_function()


php_function() = atom()

php_function_opt()


php_function_opt() = atom() | {atom(), any()}

php_function_opts()


php_function_opts() = [php_function_opts()]

php_function_result()


php_function_result() = php_function() | {php_function(), php_function_opts}

php_function_results()


php_function_results() = [php_function_result()]

type_arg()


type_arg() = mixed | string | integer | array | object | resource | raw | type_ref

validation_arg()


validation_arg() = {type_arg(), default_value()} | type_arg()

validation_args()


validation_args() = {min_args(), max_args(), error_return_value(), [validation_arg()]} | [validation_arg()] | undefined | no_resolve

Function Index

destroy/1
get/2
get_functions/1
get_static_value/3
init_static_value/4
is_defined/2
register_func/5
register_func/6
register_func/7
run/2
set_static/4
set_static_value/4
start_link/0

Function Details

destroy/1

destroy(Funcs) -> any()

get/2

get(Ref, FuncName) -> any()

get_functions/1

get_functions(Ref) -> any()

get_static_value/3

get_static_value(Ref, FuncName, VarName) -> any()

init_static_value/4

init_static_value(Ref, FuncName, VarName, Value) -> any()

is_defined/2

is_defined(Ref, FuncName) -> any()

register_func/5

register_func(Ref, File, PHPFunc, Args, Code) -> any()

register_func/6

register_func(Ref, File, PHPFunc, Module, Fun, ValArgs) -> any()

register_func/7

register_func(Ref, File, PHPFunc, Module, Fun, PackArgs, ValArgs) -> any()

run/2

run(Context, Call) -> any()

set_static/4

set_static(Ref, FuncName, Vars, Context) -> any()

set_static_value/4

set_static_value(Ref, FuncName, VarName, Value) -> any()

start_link/0

start_link() -> any()