Skip to content

Instantly share code, notes, and snippets.

@necronet
Created June 21, 2010 00:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save necronet/446263 to your computer and use it in GitHub Desktop.
Save necronet/446263 to your computer and use it in GitHub Desktop.
<?php
function mySecureMethod($parametro=60) {
return 'Metodo Verificado Parametro parametro: '.$minutes;
}
expose_function("test.secureMethod",
"mySecureMethod",
array("parametro" => array('type' => 'int',
'required' => false)),
'Verificacion con API',
'GET',
true,
false
);
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment