router::put PHP Method

put() public method

public put ( $url, $callback )
    function put($url, $callback)
    {
        self::set(array('PUT'), $url, $callback);
    }

Usage Example

Example #1
0
function put($url, $fun)
{
    router::put($url, $fun);
}