XOOPS
2.6.0
Main Page
Related Pages
Classes
Files
Examples
File List
File Members
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
12
namespace
Xoops\Core\Service\Contract
;
13
14
use
Xoops\Core\Service\Response
;
15
28
interface
ThumbnailInterface
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
(
56
Response
$response
,
57
$imgPath
,
58
$width
= 0,
59
$height
= 0,
60
$attributes = array()
61
);
62
}
Xoops\Core\Service\Contract\ThumbnailInterface\MODE
const MODE
Definition:
ThumbnailInterface.php:30
Xoops\Core\Service\Contract
Definition:
AvatarInterface.php:12
$imgPath
$imgPath
Definition:
thumbrender.php:27
Xoops\Core\Service\Response
Definition:
Response.php:30
Response
Xoops\Core\Service\Contract\ThumbnailInterface\getImgUrl
getImgUrl(Response $response, $imgPath, $width=0, $height=0)
$height
$height
Definition:
avatar_custom.php:41
$width
$width
Definition:
avatar_custom.php:40
$response
if($xoops->isUser()&&$isAdmin) $response
Definition:
userinfo.php:83
Xoops\Core\Service\Contract\ThumbnailInterface
Definition:
ThumbnailInterface.php:28
Xoops\Core\Service\Contract\ThumbnailInterface\getImgTag
getImgTag(Response $response, $imgPath, $width=0, $height=0, $attributes=array())
usr64
htdocs
xoops_lib
Xoops
Core
Service
Contract
ThumbnailInterface.php
Generated on Fri May 22 2015 03:07:05 for XOOPS by
1.8.9.1