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
UICore
User
Utilities
Verification
VirusScanner
WebAccessChecker
WebDAV
WebServices
Curl
ECS
classes
Course
class.ilECSCmsCourseCommandQueueHandler.php
class.ilECSCmsCourseMemberCommandQueueHandler.php
class.ilECSCourseAttribute.php
class.ilECSCourseAttributes.php
class.ilECSCourseConnector.php
class.ilECSCourseCreationHandler.php
class.ilECSCourseLmsUrl.php
class.ilECSCourseMappingRule.php
class.ilECSCourseMemberAssignment.php
class.ilECSCourseMemberConnector.php
class.ilECSCourseUrl.php
class.ilECSCourseUrlConnector.php
Mapping
Tree
class.ilAuthContainerECS.php
class.ilAuthECS.php
class.ilECSAppEventListener.php
class.ilECSAuth.php
class.ilECSCategoryMapping.php
class.ilECSCategoryMappingRule.php
class.ilECSCategoryMappingTableGUI.php
class.ilECSCommunitiesCache.php
class.ilECSCommunity.php
class.ilECSCommunityCache.php
class.ilECSCommunityReader.php
class.ilECSCommunityTableGUI.php
class.ilECSConnector.php
class.ilECSConnectorException.php
class.ilECSDataMappingSetting.php
class.ilECSDataMappingSettings.php
class.ilECSEContentDetails.php
class.ilECSEvent.php
class.ilECSEventQueueReader.php
class.ilECSExport.php
class.ilECSImport.php
class.ilECSImportedContentTableGUI.php
class.ilECSObjectSettings.php
class.ilECSOrganisation.php
class.ilECSParticipant.php
class.ilECSParticipantSetting.php
class.ilECSParticipantSettings.php
class.ilECSReaderException.php
class.ilECSReleasedContentTableGUI.php
class.ilECSResult.php
class.ilECSServerSettings.php
class.ilECSServerTableGUI.php
class.ilECSSetting.php
class.ilECSSettingsGUI.php
class.ilECSTaskScheduler.php
class.ilECSTimePlace.php
class.ilECSUriList.php
class.ilECSUser.php
class.ilECSUtils.php
class.ilObjECSSettings.php
class.ilObjECSSettingsAccess.php
class.ilObjECSSettingsGUI.php
class.ilRemoteObjectBase.php
class.ilRemoteObjectBaseGUI.php
interfaces
FileManager
Rest
RPC
SOAP
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.ilECSCourseAttribute.php
Go to the documentation of this file.
1
<?php
2
3
/* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */
4
10
class
ilECSCourseAttribute
11
{
12
private
$id
= 0;
13
private
$server_id
= 0;
14
private
$mid
= 0;
15
private
$name
=
''
;
16
21
public
function
__construct
($a_id = 0)
22
{
23
$this->
id
= $a_id;
24
25
$this->
read
();
26
}
27
32
public
function
getId
()
33
{
34
return
$this->id
;
35
}
36
37
public
function
setServerId
($a_server_id)
38
{
39
$this->server_id = $a_server_id;
40
}
41
42
public
function
getServerId
()
43
{
44
return
$this->server_id
;
45
}
46
47
public
function
setMid
($a_mid)
48
{
49
$this->mid = $a_mid;
50
}
51
52
public
function
getMid
()
53
{
54
return
$this->mid
;
55
}
56
57
58
public
function
setName
($a_name)
59
{
60
$this->name = $a_name;
61
}
62
67
public
function
getName
()
68
{
69
return
$this->name
;
70
}
71
77
public
function
delete
()
78
{
79
global $ilDB;
80
81
$query
=
"DELETE FROM ecs_crs_mapping_atts "
.
82
'WHERE id = '
.$ilDB->quote($this->
getId
(),
'integer'
);
83
$ilDB->manipulate(
$query
);
84
return
true
;
85
}
86
92
public
function
save
()
93
{
94
global $ilDB;
95
96
$this->
id
= $ilDB->nextId(
'ecs_crs_mapping_atts'
);
97
98
$query
=
'INSERT INTO ecs_crs_mapping_atts (id,sid,mid,name) '
.
99
'VALUES ( '
.
100
$ilDB->quote($this->
getId
(),
'integer'
).
', '
.
101
$ilDB->quote($this->
getServerId
(),
'integer'
).
', '
.
102
$ilDB->quote($this->
getMid
(),
'integer'
).
', '
.
103
$ilDB->quote($this->
getName
(),
'text'
).
' '
.
104
') '
;
105
$ilDB->manipulate(
$query
);
106
return
true
;
107
}
108
109
110
114
protected
function
read
()
115
{
116
global $ilDB;
117
118
if
(!$this->
getId
())
119
{
120
return
true
;
121
}
122
123
124
$query
=
'SELECT * FROM ecs_crs_mapping_atts '
.
125
'WHERE id = '
.$ilDB->quote($this->
getId
(),
'integer'
);
126
$res
= $ilDB->query(
$query
);
127
while
(
$row
=
$res
->fetchRow(
DB_FETCHMODE_OBJECT
))
128
{
129
$this->
setName
(
$row
->name);
130
}
131
return
true
;
132
}
133
}
134
?>
Services
WebServices
ECS
classes
Course
class.ilECSCourseAttribute.php
Generated on Sat Apr 23 2016 19:02:35 for ILIAS by
1.8.1.2 (using
Doxyfile
)