* @param $errorformat string outputs errors in 'png', 'gif', 'jpg' or 'html'
* @return bool error status; true=ok; false=error
*/
- static private function produceImage(&$content, $plugin, $dbi, $argarray, $request, $errorformat)
+ private function produceImage(&$content, $plugin, $dbi, $argarray, $request, $errorformat)
{
$plugin->resetError();
$content['html'] = $imagehandle = false;
* @param string $errorformat outputs errors in 'png', 'gif', 'jpeg' or 'html'
* @return bool
*/
- static public function fetchImageFromCache($dbi, $request, $errorformat = 'png')
+ public function fetchImageFromCache($dbi, $request, $errorformat = 'png')
{
$cache = $this->newCache();
$errorformat = $this->decideImgType($errorformat);
* @param string $errortext guess what?
* @return void
*/
- static protected function printError($imgtype, $errortext)
+ protected function printError($imgtype, $errortext)
{
$imgtype = $this->decideImgType($imgtype);