git-svn-id: file:///home/shish/svn/shimmie2/trunk@252 7f39781d-f577-437e-ae19-be835c7a54ca
		
			
				
	
	
		
			24 lines
		
	
	
		
			463 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			463 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?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;
 | 
						|
	var $page;
 | 
						|
 | 
						|
	public function DisplayingImageEvent($image, $page) {
 | 
						|
		$this->image = $image;
 | 
						|
		$this->page = $page;
 | 
						|
	}
 | 
						|
 | 
						|
	public function get_image() {
 | 
						|
		return $this->image;
 | 
						|
	}
 | 
						|
}
 | 
						|
?>
 |