This repository has been archived on 2024-09-05. You can view files and clone it, but cannot push or open issues or pull requests.
shimmie2/core/events/displayingimage.event.php

22 lines
421 B
PHP
Raw Normal View History

<?php
/*
* DisplayingImageEvent:
* $image
*
* Sent when an image is ready to display. Extensions who
* wish to appear on the "view" page should listen for this,
* which only appears when an image actually exists.
*/
class DisplayingImageEvent extends Event {
var $image;
public function DisplayingImageEvent($image) {
$this->image = $image;
}
public function get_image() {
return $this->image;
}
}
?>