Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

Image Class Reference

List of all members.

Public Member Functions

 Image ($name)
 newFromTitle ($nt)
 getName ()
 getURL ()
 getImagePath ()
 getWidth ()
 getHeight ()
 getType ()
 getEscapeLocalURL ()
 wfImageUrl ($name)
 exists ()
 thumbUrl ($width, $subdir="thumb")
 thumbName ($width)
 createThumb ($width)
 nextHistoryLine ()
 resetHistory ()

Public Attributes

 $name
 $imagePath
 $url
 $title
 $fileExists
 $historyLine
 $historyRes
 $width
 $height
 $bits
 $type
 $attr

Constructor & Destructor Documentation

Image::Image name  ) 
 

Definition at line 24 of file Image.php.

References $wgUploadDirectory, name, title, and wfImageUrl().


Member Function Documentation

Image::createThumb width  ) 
 

Definition at line 132 of file Image.php.

References $height, $wgImageMagickConvertCommand, $wgInternalServer, $wgUploadDirectory, $wgUseImageMagick, $wgUseSquid, $width, createThumb(), exists(), getURL(), wfImageThumbDir(), and wfPurgeSquidServers().

Referenced by createThumb().

Image::exists  ) 
 

Definition at line 107 of file Image.php.

Referenced by createThumb().

Image::getEscapeLocalURL  ) 
 

Definition at line 91 of file Image.php.

References title.

Image::getHeight  ) 
 

Definition at line 81 of file Image.php.

Image::getImagePath  ) 
 

Definition at line 71 of file Image.php.

Image::getName  ) 
 

Definition at line 61 of file Image.php.

References name.

Image::getType  ) 
 

Definition at line 86 of file Image.php.

Image::getURL  ) 
 

Definition at line 66 of file Image.php.

Referenced by createThumb().

Image::getWidth  ) 
 

Definition at line 76 of file Image.php.

Image::newFromTitle nt  ) 
 

Definition at line 54 of file Image.php.

References newFromTitle().

Referenced by newFromTitle().

Image::nextHistoryLine  ) 
 

Definition at line 261 of file Image.php.

References $sql, DB_READ, wfFetchObject(), wfNumRows(), wfQuery(), and wfStrencode().

Image::resetHistory  ) 
 

Definition at line 288 of file Image.php.

Image::thumbName width  ) 
 

Definition at line 122 of file Image.php.

References $width, name, and thumbName().

Referenced by thumbName(), and thumbUrl().

Image::thumbUrl width,
subdir = "thumb"
 

Definition at line 112 of file Image.php.

References $name, $url, $wgUploadPath, name, thumbName(), thumbUrl(), and wfUrlencode().

Referenced by thumbUrl().

Image::wfImageUrl name  ) 
 

Definition at line 96 of file Image.php.

References $url, $wgUploadPath, name, wfImageUrl(), and wfUrlencode().

Referenced by Image(), and wfImageUrl().


Member Data Documentation

Image::$attr
 

Definition at line 9 of file Image.php.

Image::$bits
 

Definition at line 9 of file Image.php.

Image::$fileExists
 

Definition at line 9 of file Image.php.

Image::$height
 

Definition at line 9 of file Image.php.

Referenced by createThumb().

Image::$historyLine
 

Definition at line 9 of file Image.php.

Image::$historyRes
 

Definition at line 9 of file Image.php.

Image::$imagePath
 

Definition at line 9 of file Image.php.

Image::$name
 

Definition at line 9 of file Image.php.

Referenced by thumbUrl().

Image::$title
 

Definition at line 9 of file Image.php.

Image::$type
 

Definition at line 9 of file Image.php.

Image::$url
 

Definition at line 9 of file Image.php.

Referenced by thumbUrl(), and wfImageUrl().

Image::$width
 

Definition at line 9 of file Image.php.

Referenced by createThumb(), and thumbName().


The documentation for this class was generated from the following file:
Generated on Tue Jun 29 23:40:26 2004 for Mediawiki by doxygen 1.3.7