ILIAS
Release_4_3_x_branch Revision 61807
◀ ilDoc Overview
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
ILIAS
Todo List
Deprecated List
Modules
Namespaces
Data Structures
Files
File List
cron
include
Modules
Services
AccessControl
Accessibility
Accordion
Administration
AdvancedEditing
AdvancedMetaData
AuthApache
Authentication
AuthShibboleth
Block
Booking
Bookmarks
Cache
Calendar
Captcha
CAS
Certificate
Chart
Clipboard
Component
Contact
Container
ContainerReference
Context
COPage
CopyWizard
Database
DataSet
DidacticTemplate
Dom
EventHandling
Excel
Exceptions
Export
Feedback
Feeds
FileSystem
Form
Frameset
GoogleMaps
Help
History
Html
Http
Imprint
InfoScreen
Init
jQuery
JSON
Language
LDAP
License
Link
LinkChecker
LoadTest
Locator
Logging
Mail
MainMenu
Math
MediaObjects
Membership
MetaData
Migration
Navigation
News
Notes
Notification
Notifications
Object
OpenId
OrgUnit
Payment
PEAR
PermanentLink
PersonalDesktop
PersonalWorkspace
PHPUnit
Portfolio
PrivacySecurity
QTI
Radius
Rating
Registration
Repository
RTE
Search
Skill
SOAPAuth
Style
Survey
Table
Tagging
Taxonomy
Tracking
Transformation
Tree
UIComponent
AdvancedSelectionList
CheckboxListOverlay
classes
Explorer
GroupedList
Lightbox
classes
class.ilLightboxGUI.php
NestedList
Overlay
Tabs
TextHighlighter
Toolbar
Tooltip
UICore
User
Utilities
Verification
VirusScanner
WebAccessChecker
WebDAV
WebServices
Workflow
XHTMLPage
XHTMLValidator
Xml
YUI
setup
sso
webservice
calendar.php
confirmReg.php
error.php
feed.php
goto.php
ilias.php
index.php
login.php
logout.php
payment.php
privfeed.php
pwassist.php
register.php
rootindex.php
sessioncheck.php
shib_login.php
shib_logout.php
start.php
studip_referrer.php
webdav.php
Globals
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Groups
Pages
class.ilLightboxGUI.php
Go to the documentation of this file.
1
<?php
2
3
/* Copyright (c) 1998-2011 ILIAS open source, Extended GPL, see docs/LICENSE */
4
12
class
ilLightboxGUI
13
{
14
protected
$id
=
""
;
15
22
function
__construct
($a_id)
23
{
24
$this->
setId
($a_id);
25
}
26
32
function
setId
($a_val)
33
{
34
$this->
id
= $a_val;
35
}
36
42
function
getId
()
43
{
44
return
$this->id
;
45
}
46
52
function
setWidth
($a_val)
53
{
54
$this->width = $a_val;
55
}
56
62
function
getWidth
()
63
{
64
return
$this->width;
65
}
66
70
static
function
getLocalLightboxJsPath
()
71
{
72
return
"./Services/UIComponent/Lightbox/js/Lightbox.js"
;
73
}
74
78
public
function
addLightbox
($a_tpl = null)
79
{
80
global
$tpl
;
81
82
if
($a_tpl == null)
83
{
84
$a_tpl =
$tpl
;
85
}
86
87
$a_tpl->addJavaScript(self::getLocalLightboxJsPath());
88
$a_tpl->addLightbox($this->
getHTML
(), $this->
getId
());
89
}
90
97
function
getHTML
()
98
{
99
$tpl
=
new
ilTemplate
(
"tpl.lightbox.html"
,
true
,
true
,
"Services/UIComponent/Lightbox"
);
100
$tpl
->setVariable(
"LIGHTBOX_CONTENT"
,
""
);
101
$tpl
->setVariable(
"ID"
, $this->
getId
());
102
if
($this->
getWidth
() !=
""
)
103
{
104
$tpl
->setVariable(
"WIDTH"
,
"width: "
.$this->
getWidth
().
";"
);
105
}
106
return
$tpl
->get();
107
}
108
109
}
110
111
?>
Services
UIComponent
Lightbox
classes
class.ilLightboxGUI.php
Generated on Sat Apr 23 2016 19:02:32 for ILIAS by
1.8.1.2 (using
Doxyfile
)