MIDDAG for Moodle

forcecpf

Table of Contents

Constants

URL_INDEX  = '/local/middag/tool/forcecpf/index.php'

Methods

check()  : bool
redirect()  : void
test()  : bool
update()  : mixed
update_user_field()  : bool
validate_cpf()  : bool

Constants

URL_INDEX

public mixed URL_INDEX = '/local/middag/tool/forcecpf/index.php'

Methods

check()

public static check() : bool
Return values
bool

redirect()

public static redirect() : void

test()

public static test() : bool
Return values
bool

update()

public static update(mixed $data) : mixed
Parameters
$data : mixed

update_user_field()

public static update_user_field(mixed $userid, mixed $field, mixed $value) : bool
Parameters
$userid : mixed
$field : mixed
$value : mixed
Return values
bool

validate_cpf()

public static validate_cpf(string $cpf) : bool
Parameters
$cpf : string
Return values
bool

        
On this page

Search results