XOOPS  2.6.0
ThumbnailInterface.php
Go to the documentation of this file.
1 <?php
2 /*
3  You may not change or alter any portion of this comment or credits
4  of supporting developers from this source code or any supporting source code
5  which is considered copyrighted (c) material of the original comment or credit authors.
6 
7  This program is distributed in the hope that it will be useful,
8  but WITHOUT ANY WARRANTY; without even the implied warranty of
9  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10 */
11 
13 
15 
29 {
30  const MODE = \Xoops\Core\Service\Manager::MODE_EXCLUSIVE;
31 
42  public function getImgUrl(Response $response, $imgPath, $width = 0, $height = 0);
43 
55  public function getImgTag(
57  $imgPath,
58  $width = 0,
59  $height = 0,
60  $attributes = array()
61  );
62 }
$imgPath
Definition: thumbrender.php:27
getImgUrl(Response $response, $imgPath, $width=0, $height=0)
$height
$width
if($xoops->isUser()&&$isAdmin) $response
Definition: userinfo.php:83
getImgTag(Response $response, $imgPath, $width=0, $height=0, $attributes=array())