mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 11:08:45 +02:00
💡 Add some PhpDoc
This commit is contained in:
@@ -269,8 +269,12 @@ EOF
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Check if an the given mimeType is an image that can be processed by the system
|
* Check if an the given mimeType is an image that can be processed by the system
|
||||||
|
*
|
||||||
* @param string $sMimeType
|
* @param string $sMimeType
|
||||||
* @return boolean
|
*
|
||||||
|
* @return boolean always false if php-gd not installed
|
||||||
|
* otherwise true if file is one of those type : image/gif, image/jpeg, image/png
|
||||||
|
* @uses php-gd extension
|
||||||
*/
|
*/
|
||||||
public static function IsImage($sMimeType)
|
public static function IsImage($sMimeType)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user