Demo_Module

+------------------------------------------------------------+ | apnscp | +------------------------------------------------------------+ | Copyright (c) Apis Networks | +------------------------------------------------------------+ | Licensed under Artistic License 2.0 | +------------------------------------------------------------+ | Author: Matt Saladna (msaladna@apisnetworks.com) | +------------------------------------------------------------+
extends Module\Skeleton\Standard
Methods Summary
public
# test_tail( int $cnt = 20, float $timing = 0.5 )
Test AJAX tail support
public
# test_tail2( $cnt = 20, $timing = 0.5 )
public
public
# test_error( $message = 'generic error' )
public
# test1( )
public
# test_backend_error( $message = 'abcdef' )
public
public
# test_array( int $arg1 , int $arg2 = NULL )
array test_array(int[, int]) Demonstration test of returning an array. If invoked through a SOAP call, this would return a three tuple object, non-associative, handled by the function interceptor class

privilege


public
# test_exception( bool $trigger = false )
bool test_exception([bool = false]) Tests exception handling of modules

privilege


public
# test_scalar( int $arg1 , int $arg2 )
int test_scalar(int, int)

privilege


public
public
Methods inherited from Module\Skeleton\Standard
__construct(), setUserParameters(), autoloadModule(), __wakeup(), _invoke(), __debugInfo(), getExportedFunctions(), _reset(), cleanUserParameters(), query()
Constants inherited from Module\Skeleton\Standard
DEPENDENCY_MAP
Properties Summary
protected $exportedFunctions
# array ( '*' => 15, )
Properties inherited from Module\Skeleton\Standard
$exportedFunctions, $username, $password, $domain, $user_id, $group_id, $permission_level, $session_id, $site, $site_id