/plugins/moodle/mobileOKPythia/img.php

Description

This file is part of the mobileOK Pythia plug-in for Moodle.

It serves pictures from the cache folder.

Functions
error (line 24)

This file is part of the mobileOK Pythia plug-in for Moodle.

It serves pictures from the cache folder.

void error ( $text, [ $notfound = false])
  • $text
  • $notfound
get_file_argument_limited (line 76)

Extracts file argument either from file parameter or PATH_INFO.

  • return: file path (only safe characters)
string get_file_argument_limited (string $scriptname)
  • string $scriptname: name of the calling script
get_query (line 61)
void get_query ( $name)
  • $name
makesafe (line 32)
void makesafe ( $param)
  • $param
strip_querystring (line 51)

Remove query string from url

Takes in a URL and returns it without the querystring portion

string strip_querystring (string $url)
  • string $url: the url which may have a query string attached

Documentation generated on Tue, 17 Nov 2009 19:00:39 +0100 by phpDocumentor 1.4.2