ILIAS
release_5-0 Revision 5.0.0-1144-gc4397b1f870
|
Public Member Functions | |
__construct ($a_id=0, $a_reference=true) | |
initType () | |
setOnline ($a_value) | |
isOnline () | |
setAccessType ($a_value) | |
getAccessType () | |
setAccessBegin ($a_value) | |
getAccessBegin () | |
setAccessEnd ($a_value) | |
getAccessEnd () | |
setAccessVisibility ($a_value) | |
getAccessVisibility () | |
setQuestion ($a_value) | |
getQuestion () | |
setImage ($a_value) | |
getImage () | |
setViewResults ($a_value) | |
getViewResults () | |
setVotingPeriod ($a_value) | |
getVotingPeriod () | |
setVotingPeriodBegin ($a_value) | |
getVotingPeriodBegin () | |
setVotingPeriodEnd ($a_value) | |
getVotingPeriodEnd () | |
setMaxNumberOfAnswers ($a_value) | |
getMaxNumberOfAnswers () | |
setSortResultByVotes ($a_value) | |
getSortResultByVotes () | |
setNonAnonymous ($a_value) | |
getNonAnonymous () | |
setShowComments ($a_value) | |
getShowComments () | |
setShowResultsAs ($a_value) | |
getShowResultsAs () | |
doCloneObject (ilObjPoll $new_obj, $a_target_id, $a_copy_id=0) | |
Clone poll. More... | |
getImageFullPath ($a_as_thumb=false) | |
Get image incl. More... | |
deleteImage () | |
remove existing file More... | |
uploadImage (array $a_upload, $a_clone=false) | |
Upload new image file. More... | |
getAnswers () | |
getAnswer ($a_id) | |
saveAnswer ($a_text, $a_pos=null) | |
updateAnswer ($a_id, $a_text) | |
rebuildAnswerPositions () | |
updateAnswerPositions (array $a_pos) | |
deleteAnswer ($a_id) | |
deleteAllVotes () | |
saveAnswers (array $a_answers) | |
saveVote ($a_user_id, $a_answers) | |
hasUserVoted ($a_user_id) | |
countVotes () | |
getVotePercentages () | |
getVotesByUsers () | |
![]() | |
__construct ($a_id=0, $a_reference=true) | |
Constructor public. More... | |
withReferences () | |
read ($a_force_db=false) | |
Read data from db. More... | |
getId () | |
setId ($a_id) | |
setRefId ($a_id) | |
getRefId () | |
getType () | |
setType ($a_type) | |
getPresentationTitle () | |
getTitle () | |
getUntranslatedTitle () | |
setTitle ($a_title) | |
getDescription () | |
setDescription ($a_desc) | |
getLongDescription () | |
getImportId () | |
setImportId ($a_import_id) | |
getOwner () | |
getOwnerName () | |
_lookupOwnerName ($a_owner_id) | |
setOwner ($a_owner) | |
getCreateDate () | |
getLastUpdateDate () | |
setObjDataRecord ($a_record) | |
create ($a_clone_mode=false) | |
update () | |
MDUpdateListener ($a_element) | |
createMetaData () | |
updateMetaData () | |
deleteMetaData () | |
updateOwner () | |
_getIdForImportId ($a_import_id) | |
_lookupOwner ($a_id) | |
_lookupLastUpdate ($a_id, $a_as_string=false) | |
_getLastUpdateOfObjects ($a_objs) | |
_setDeletedDate ($a_ref_id) | |
_resetDeletedDate ($a_ref_id) | |
_lookupDeletedDate ($a_ref_id) | |
_writeTitle ($a_obj_id, $a_title) | |
_writeDescription ($a_obj_id, $a_desc) | |
_writeImportId ($a_obj_id, $a_import_id) | |
_isInTrash ($a_ref_id) | |
_hasUntrashedReference ($a_obj_id) | |
_getObjectsDataForType ($a_type, $a_omit_trash=false) | |
putInTree ($a_parent_ref) | |
setPermissions ($a_parent_ref) | |
createReference () | |
countReferences () | |
delete () | |
initDefaultRoles () | |
notify ($a_event, $a_ref_id, $a_parent_non_rbac_id, $a_node_id, $a_params=0) | |
setRegisterMode ($a_bool) | |
isUserRegistered ($a_user_id=0) | |
requireRegistration () | |
appendCopyInfo ($a_target_id, $a_copy_id) | |
cloneMetaData ($target_obj) | |
cloneObject ($a_target_id, $a_copy_id=null, $a_omit_tree=false) | |
cloneDependencies ($a_target_id, $a_copy_id) | |
![]() | |
ilObject ($a_id=0, $a_reference=true) | |
Constructor public. More... | |
withReferences () | |
determines wehter objects are referenced or not (got ref ids or not) More... | |
read ($a_force_db=false) | |
read object data from db into object More... | |
getId () | |
get object id public More... | |
setId ($a_id) | |
set object id public More... | |
setRefId ($a_id) | |
set reference id public More... | |
getRefId () | |
get reference id public More... | |
getType () | |
get object type public More... | |
setType ($a_type) | |
set object type public More... | |
getPresentationTitle () | |
get presentation title Normally same as title Overwritten for sessions More... | |
getTitle () | |
get object title public More... | |
getUntranslatedTitle () | |
get untranslated object title public More... | |
setTitle ($a_title) | |
set object title More... | |
getDescription () | |
get object description More... | |
setDescription ($a_desc) | |
set object description More... | |
getLongDescription () | |
get object long description (stored in object_description) More... | |
getImportId () | |
get import id More... | |
setImportId ($a_import_id) | |
set import id More... | |
getOwner () | |
get object owner More... | |
getOwnerName () | |
_lookupOwnerName ($a_owner_id) | |
lookup owner name for owner id More... | |
setOwner ($a_owner) | |
set object owner More... | |
getCreateDate () | |
get create date public More... | |
getLastUpdateDate () | |
get last update date public More... | |
getDiskUsage () | |
Gets the disk usage of the object in bytes. More... | |
setObjDataRecord ($a_record) | |
set object_data record (note: this method should only be called from the ilObjectFactory class) More... | |
create () | |
create More... | |
update () | |
update object in db More... | |
MDUpdateListener ($a_element) | |
Meta data update listener. More... | |
createMetaData () | |
create meta data entry More... | |
updateMetaData () | |
update meta data entry More... | |
deleteMetaData () | |
delete meta data entry More... | |
updateOwner () | |
update owner of object in db More... | |
_getIdForImportId ($a_import_id) | |
get current object id for import id (static) More... | |
_lookupOwner ($a_id) | |
lookup object owner More... | |
_lookupLastUpdate ($a_id, $a_as_string=false) | |
lookup last update More... | |
_getLastUpdateOfObjects ($a_objs) | |
Get last update for a set of media objects. More... | |
_setDeletedDate ($a_ref_id) | |
only called in ilTree::saveSubTree More... | |
_resetDeletedDate ($a_ref_id) | |
only called in ilObjectGUI::insertSavedNodes More... | |
_lookupDeletedDate ($a_ref_id) | |
only called in ilObjectGUI::insertSavedNodes More... | |
_writeTitle ($a_obj_id, $a_title) | |
write title to db (static) More... | |
_writeDescription ($a_obj_id, $a_desc) | |
write description to db (static) More... | |
_writeImportId ($a_obj_id, $a_import_id) | |
write import id to db (static) More... | |
_isInTrash ($a_ref_id) | |
checks wether object is in trash More... | |
_hasUntrashedReference ($a_obj_id) | |
checks wether an object has at least one reference that is not in trash More... | |
_getObjectsDataForType ($a_type, $a_omit_trash=false) | |
get all objects of a certain type More... | |
putInTree ($a_parent_ref) | |
maybe this method should be in tree object!? More... | |
setPermissions ($a_parent_ref) | |
set permissions of object More... | |
setParentRolePermissions ($a_parent_ref) | |
Initialize the permissions of parent roles (local roles of categories, global roles...) This method is overwritten in e.g courses, groups for building permission intersections with non_member templates. More... | |
createReference () | |
creates reference for object More... | |
countReferences () | |
count references of object More... | |
delete () | |
delete object or referenced object (in the case of a referenced object, object data is only deleted if last reference is deleted) This function removes an object entirely from system!! More... | |
initDefaultRoles () | |
init default roles settings Purpose of this function is to create a local role folder and local roles, that are needed depending on the object type If you want to setup default local roles you MUST overwrite this method in derived object classes (see ilObjForum for an example) public More... | |
applyDidacticTemplate ($a_tpl_id) | |
Apply template. More... | |
notify ($a_event, $a_ref_id, $a_parent_non_rbac_id, $a_node_id, $a_params=0) | |
notifys an object about an event occured Based on the event passed, each object may decide how it reacts. More... | |
setRegisterMode ($a_bool) | |
isUserRegistered ($a_user_id=0) | |
requireRegistration () | |
getXMLZip () | |
getHTMLDirectory () | |
cloneObject ($a_target_id, $a_copy_id=0, $a_omit_tree=false) | |
Clone object permissions, put in tree ... More... | |
appendCopyInfo ($a_target_id, $a_copy_id) | |
Prepend Copy info if object with same name exists in that container. More... | |
cloneDependencies ($a_target_id, $a_copy_id) | |
Clone object dependencies. More... | |
cloneMetaData ($target_obj) | |
Copy meta data. More... | |
_lookupCreationDate ($a_id) | |
Lookup creation date. More... | |
Static Public Member Functions | |
static | initStorage ($a_id, $a_subdir=null) |
Init file system storage. More... | |
static | getImageSize () |
![]() | |
static | _lookupObjIdByImportId ($a_import_id) |
static | _getAllReferences ($a_id) |
static | _lookupTitle ($a_id) |
static | _getIdsForTitle ($title, $type='', $partialmatch=false) |
static | _lookupDescription ($a_id) |
static | _lookupObjId ($a_id) |
static | _lookupType ($a_id, $a_reference=false) |
static | _lookupObjectId ($a_ref_id) |
static | _exists ($a_id, $a_reference=false) |
static | _getObjectsByType ($a_obj_type="", $a_owner="") |
static | _prepareCloneSelection ($a_ref_ids, $new_type) |
static | _getIcon ($a_obj_id="", $a_size="big", $a_type="", $a_offline=false) |
![]() | |
static | _lookupObjIdByImportId ($a_import_id) |
static | _getAllReferences ($a_id) |
get all reference ids of object More... | |
static | _lookupTitle ($a_id) |
lookup object title More... | |
static | _getIdsForTitle ($title, $type='', $partialmatch=false) |
static | _lookupDescription ($a_id) |
lookup object description More... | |
static | _lookupObjId ($a_id) |
static | setDeletedDates ($a_ref_ids) |
Set deleted date type $ilDB. More... | |
static | _lookupType ($a_id, $a_reference=false) |
lookup object type More... | |
static | _lookupObjectId ($a_ref_id) |
lookup object id More... | |
static | _exists ($a_id, $a_reference=false, $a_type=null) |
checks if an object exists in object_data More... | |
static | _getObjectsByType ($a_obj_type="", $a_owner="") |
Get objects by type. More... | |
static | _prepareCloneSelection ($a_ref_ids, $new_type, $show_path=true) |
Prepare copy wizard object selection. More... | |
static | _getIcon ($a_obj_id="", $a_size="big", $a_type="", $a_offline=false) |
Get icon for repository item. More... | |
static | collectDeletionDependencies (&$deps, $a_ref_id, $a_obj_id, $a_type, $a_depth=0) |
Collect deletion dependencies. More... | |
static | getDeletionDependencies ($a_obj_id) |
Get deletion dependencies. More... | |
static | getLongDescriptions (array $a_obj_ids) |
Get long description data. More... | |
static | getAllOwnedRepositoryObjects ($a_user_id) |
Get all ids of objects user owns. More... | |
static | hasAutoRating ($a_type, $a_ref_id) |
Check if auto rating is active for parent group/course. More... | |
Data Fields | |
const | VIEW_RESULTS_ALWAYS = 1 |
const | VIEW_RESULTS_NEVER = 2 |
const | VIEW_RESULTS_AFTER_VOTE = 3 |
const | VIEW_RESULTS_AFTER_PERIOD = 4 |
const | SHOW_RESULTS_AS_BARCHART = 1 |
const | SHOW_RESULTS_AS_PIECHART = 2 |
![]() | |
const | TITLE_LENGTH = 255 |
max length of object title More... | |
const | DESC_LENGTH = 128 |
$ilias | |
$lng | |
$id | |
$ref_id | |
$type | |
$title | |
$untranslatedTitle | |
$desc | |
$long_desc | |
$owner | |
$create_date | |
$last_update | |
$import_id | |
$register = false | |
$referenced | |
$objectList | |
$max_title | |
$max_desc | |
$add_dots | |
$obj_data_record | |
object_data record More... | |
Protected Member Functions | |
doRead () | |
propertiesToDB () | |
doCreate () | |
doUpdate () | |
doDelete () | |
deleteAllAnswers () | |
![]() | |
initType () | |
doRead () | |
doCreate () | |
beforeCreate () | |
doUpdate () | |
beforeUpdate () | |
doMDUpdateListener ($a_element) | |
beforeMDUpdateListener ($a_element) | |
doCreateMetaData () | |
beforeCreateMetaData () | |
doUpdateMetaData () | |
beforeUpdateMetaData () | |
doDelete () | |
beforeDelete () | |
doCloneObject ($new_obj, $a_target_id, $a_copy_id=null) | |
beforeCloneObject () | |
Protected Attributes | |
$online | |
$access_type | |
$access_begin | |
$access_end | |
$access_visibility | |
$question | |
$image | |
$view_results | |
$period | |
$period_begin | |
$period_end | |
$max_number_answers = 1 | |
$result_sort_by_votes = false | |
$mode_non_anonymous = false | |
$show_comments = false | |
$show_results_as = 1 | |
Class ilObjPoll.
Definition at line 16 of file class.ilObjPoll.php.
ilObjPoll::__construct | ( | $a_id = 0 , |
|
$a_reference = true |
|||
) |
Definition at line 45 of file class.ilObjPoll.php.
References setAccessType(), setOnline(), setViewResults(), setVotingPeriod(), and ilObjectActivation\TIMINGS_DEACTIVATED.
ilObjPoll::countVotes | ( | ) |
Definition at line 756 of file class.ilObjPoll.php.
References $ilDB, $row, and ilObject2\getId().
Referenced by getVotePercentages().
|
protected |
Definition at line 636 of file class.ilObjPoll.php.
References $ilDB, deleteAllVotes(), and ilObject2\getId().
Referenced by doDelete().
ilObjPoll::deleteAllVotes | ( | ) |
Definition at line 649 of file class.ilObjPoll.php.
References $ilDB, and ilObject2\getId().
Referenced by deleteAllAnswers().
ilObjPoll::deleteAnswer | ( | $a_id | ) |
Definition at line 622 of file class.ilObjPoll.php.
References $ilDB.
Referenced by saveAnswers().
ilObjPoll::deleteImage | ( | ) |
remove existing file
Definition at line 421 of file class.ilObjPoll.php.
References setImage().
Referenced by doDelete(), and uploadImage().
ilObjPoll::doCloneObject | ( | ilObjPoll | $new_obj, |
$a_target_id, | |||
$a_copy_id = 0 |
|||
) |
Clone poll.
ilObjPoll | new object |
int | target ref_id |
int | copy id |
Definition at line 353 of file class.ilObjPoll.php.
References $image, ilCopyWizardOptions\_getInstance(), getAnswers(), getImage(), getImageFullPath(), getQuestion(), getShowComments(), getShowResultsAs(), getViewResults(), isOnline(), saveAnswer(), setOnline(), setQuestion(), setShowComments(), setShowResultsAs(), setViewResults(), ilObject2\update(), and uploadImage().
|
protected |
Definition at line 273 of file class.ilObjPoll.php.
References $ilDB, ilObject2\getId(), and propertiesToDB().
|
protected |
Definition at line 326 of file class.ilObjPoll.php.
References $ilDB, deleteAllAnswers(), ilObjectActivation\deleteAllEntries(), deleteImage(), and ilObject2\getId().
|
protected |
Definition at line 221 of file class.ilObjPoll.php.
References $ilDB, $row, ilNote\commentsActivated(), ilObject2\getId(), ilObjectActivation\getItem(), ilObject2\getType(), setAccessBegin(), setAccessEnd(), setAccessType(), setAccessVisibility(), setImage(), setMaxNumberOfAnswers(), setNonAnonymous(), setOnline(), setQuestion(), setShowComments(), setShowResultsAs(), setSortResultByVotes(), setViewResults(), setVotingPeriod(), setVotingPeriodBegin(), and setVotingPeriodEnd().
|
protected |
Definition at line 298 of file class.ilObjPoll.php.
References $ilDB, ilNote\activateComments(), getAccessBegin(), getAccessEnd(), getAccessType(), getAccessVisibility(), ilObject2\getId(), getShowComments(), ilObject2\getType(), and propertiesToDB().
ilObjPoll::getAccessBegin | ( | ) |
Definition at line 86 of file class.ilObjPoll.php.
References $access_begin.
Referenced by doUpdate().
ilObjPoll::getAccessEnd | ( | ) |
Definition at line 96 of file class.ilObjPoll.php.
References $access_end.
Referenced by doUpdate().
ilObjPoll::getAccessType | ( | ) |
Definition at line 76 of file class.ilObjPoll.php.
References $access_type.
Referenced by doUpdate().
ilObjPoll::getAccessVisibility | ( | ) |
Definition at line 106 of file class.ilObjPoll.php.
References $access_visibility.
Referenced by doUpdate().
ilObjPoll::getAnswer | ( | $a_id | ) |
ilObjPoll::getAnswers | ( | ) |
Definition at line 523 of file class.ilObjPoll.php.
References $ilDB, $res, $row, and ilObject2\getId().
Referenced by doCloneObject(), rebuildAnswerPositions(), and saveAnswers().
ilObjPoll::getImage | ( | ) |
Definition at line 126 of file class.ilObjPoll.php.
References $image.
Referenced by doCloneObject(), getImageFullPath(), and propertiesToDB().
ilObjPoll::getImageFullPath | ( | $a_as_thumb = false | ) |
Get image incl.
path
bool | $a_as_thumb |
Definition at line 401 of file class.ilObjPoll.php.
References $img, $path, getImage(), and initStorage().
Referenced by doCloneObject().
|
static |
Definition at line 512 of file class.ilObjPoll.php.
ilObjPoll::getMaxNumberOfAnswers | ( | ) |
Definition at line 176 of file class.ilObjPoll.php.
References $max_number_answers.
Referenced by propertiesToDB().
ilObjPoll::getNonAnonymous | ( | ) |
Definition at line 196 of file class.ilObjPoll.php.
References $mode_non_anonymous.
Referenced by propertiesToDB().
ilObjPoll::getQuestion | ( | ) |
Definition at line 116 of file class.ilObjPoll.php.
References $question.
Referenced by doCloneObject(), and propertiesToDB().
ilObjPoll::getShowComments | ( | ) |
Definition at line 206 of file class.ilObjPoll.php.
References $show_comments.
Referenced by doCloneObject(), and doUpdate().
ilObjPoll::getShowResultsAs | ( | ) |
Definition at line 216 of file class.ilObjPoll.php.
References $show_results_as.
Referenced by doCloneObject(), and propertiesToDB().
ilObjPoll::getSortResultByVotes | ( | ) |
Definition at line 186 of file class.ilObjPoll.php.
References $result_sort_by_votes.
Referenced by propertiesToDB().
ilObjPoll::getViewResults | ( | ) |
Definition at line 136 of file class.ilObjPoll.php.
References $view_results.
Referenced by doCloneObject(), and propertiesToDB().
ilObjPoll::getVotePercentages | ( | ) |
Definition at line 768 of file class.ilObjPoll.php.
References ilObject\$id, $ilDB, $res, $row, countVotes(), and ilObject2\getId().
ilObjPoll::getVotesByUsers | ( | ) |
Definition at line 794 of file class.ilObjPoll.php.
References $ilDB, $res, $row, and ilObject2\getId().
ilObjPoll::getVotingPeriod | ( | ) |
Definition at line 146 of file class.ilObjPoll.php.
References $period.
Referenced by propertiesToDB().
ilObjPoll::getVotingPeriodBegin | ( | ) |
Definition at line 156 of file class.ilObjPoll.php.
References $period_begin.
Referenced by propertiesToDB().
ilObjPoll::getVotingPeriodEnd | ( | ) |
Definition at line 166 of file class.ilObjPoll.php.
References $period_end.
Referenced by propertiesToDB().
ilObjPoll::hasUserVoted | ( | $a_user_id | ) |
Definition at line 743 of file class.ilObjPoll.php.
References $ilDB, and ilObject2\getId().
Referenced by saveVote().
|
static |
Init file system storage.
type | $a_id | |
type | $a_subdir |
Definition at line 440 of file class.ilObjPoll.php.
References $path.
Referenced by getImageFullPath(), ilPollDataSet\getXmlRecord(), ilPollDataSet\importRecord(), and uploadImage().
ilObjPoll::initType | ( | ) |
Definition at line 56 of file class.ilObjPoll.php.
ilObjPoll::isOnline | ( | ) |
Definition at line 66 of file class.ilObjPoll.php.
References $online.
Referenced by doCloneObject(), and propertiesToDB().
|
protected |
Definition at line 254 of file class.ilObjPoll.php.
References getImage(), getMaxNumberOfAnswers(), getNonAnonymous(), getQuestion(), getShowResultsAs(), getSortResultByVotes(), getViewResults(), getVotingPeriod(), getVotingPeriodBegin(), getVotingPeriodEnd(), and isOnline().
Referenced by doCreate(), and doUpdate().
ilObjPoll::rebuildAnswerPositions | ( | ) |
Definition at line 592 of file class.ilObjPoll.php.
References getAnswers(), and updateAnswerPositions().
ilObjPoll::saveAnswer | ( | $a_text, | |
$a_pos = null |
|||
) |
Definition at line 550 of file class.ilObjPoll.php.
References ilObject\$id, $ilDB, and ilObject2\getId().
Referenced by doCloneObject(), and saveAnswers().
ilObjPoll::saveAnswers | ( | array | $a_answers | ) |
Definition at line 660 of file class.ilObjPoll.php.
References ilObject\$id, deleteAnswer(), getAnswers(), saveAnswer(), and updateAnswerPositions().
ilObjPoll::saveVote | ( | $a_user_id, | |
$a_answers | |||
) |
Definition at line 720 of file class.ilObjPoll.php.
References $ilDB, ilObject2\getId(), and hasUserVoted().
ilObjPoll::setAccessBegin | ( | $a_value | ) |
Definition at line 81 of file class.ilObjPoll.php.
Referenced by doRead().
ilObjPoll::setAccessEnd | ( | $a_value | ) |
Definition at line 91 of file class.ilObjPoll.php.
Referenced by doRead().
ilObjPoll::setAccessType | ( | $a_value | ) |
Definition at line 71 of file class.ilObjPoll.php.
Referenced by __construct(), and doRead().
ilObjPoll::setAccessVisibility | ( | $a_value | ) |
Definition at line 101 of file class.ilObjPoll.php.
Referenced by doRead().
ilObjPoll::setImage | ( | $a_value | ) |
Definition at line 121 of file class.ilObjPoll.php.
Referenced by deleteImage(), doRead(), and uploadImage().
ilObjPoll::setMaxNumberOfAnswers | ( | $a_value | ) |
Definition at line 171 of file class.ilObjPoll.php.
Referenced by doRead().
ilObjPoll::setNonAnonymous | ( | $a_value | ) |
Definition at line 191 of file class.ilObjPoll.php.
Referenced by doRead().
ilObjPoll::setOnline | ( | $a_value | ) |
Definition at line 61 of file class.ilObjPoll.php.
Referenced by __construct(), doCloneObject(), and doRead().
ilObjPoll::setQuestion | ( | $a_value | ) |
Definition at line 111 of file class.ilObjPoll.php.
Referenced by doCloneObject(), and doRead().
ilObjPoll::setShowComments | ( | $a_value | ) |
Definition at line 201 of file class.ilObjPoll.php.
Referenced by doCloneObject(), and doRead().
ilObjPoll::setShowResultsAs | ( | $a_value | ) |
Definition at line 211 of file class.ilObjPoll.php.
Referenced by doCloneObject(), and doRead().
ilObjPoll::setSortResultByVotes | ( | $a_value | ) |
Definition at line 181 of file class.ilObjPoll.php.
Referenced by doRead().
ilObjPoll::setViewResults | ( | $a_value | ) |
Definition at line 131 of file class.ilObjPoll.php.
Referenced by __construct(), doCloneObject(), and doRead().
ilObjPoll::setVotingPeriod | ( | $a_value | ) |
Definition at line 141 of file class.ilObjPoll.php.
Referenced by __construct(), and doRead().
ilObjPoll::setVotingPeriodBegin | ( | $a_value | ) |
Definition at line 151 of file class.ilObjPoll.php.
Referenced by doRead().
ilObjPoll::setVotingPeriodEnd | ( | $a_value | ) |
Definition at line 161 of file class.ilObjPoll.php.
Referenced by doRead().
ilObjPoll::updateAnswer | ( | $a_id, | |
$a_text | |||
) |
ilObjPoll::updateAnswerPositions | ( | array | $a_pos | ) |
Definition at line 605 of file class.ilObjPoll.php.
References ilObject\$id, and $ilDB.
Referenced by rebuildAnswerPositions(), and saveAnswers().
ilObjPoll::uploadImage | ( | array | $a_upload, |
$a_clone = false |
|||
) |
Upload new image file.
array | $a_upload |
Definition at line 467 of file class.ilObjPoll.php.
References $path, $success, deleteImage(), ilUtil\escapeShellArg(), ilUtil\execConvert(), initStorage(), and setImage().
Referenced by doCloneObject().
|
protected |
Definition at line 20 of file class.ilObjPoll.php.
Referenced by getAccessBegin().
|
protected |
Definition at line 21 of file class.ilObjPoll.php.
Referenced by getAccessEnd().
|
protected |
Definition at line 19 of file class.ilObjPoll.php.
Referenced by getAccessType().
|
protected |
Definition at line 22 of file class.ilObjPoll.php.
Referenced by getAccessVisibility().
|
protected |
Definition at line 24 of file class.ilObjPoll.php.
Referenced by doCloneObject(), and getImage().
|
protected |
Definition at line 31 of file class.ilObjPoll.php.
Referenced by getMaxNumberOfAnswers().
|
protected |
Definition at line 33 of file class.ilObjPoll.php.
Referenced by getNonAnonymous().
|
protected |
Definition at line 18 of file class.ilObjPoll.php.
Referenced by isOnline().
|
protected |
Definition at line 26 of file class.ilObjPoll.php.
Referenced by getVotingPeriod().
|
protected |
Definition at line 27 of file class.ilObjPoll.php.
Referenced by getVotingPeriodBegin().
|
protected |
Definition at line 28 of file class.ilObjPoll.php.
Referenced by getVotingPeriodEnd().
|
protected |
Definition at line 23 of file class.ilObjPoll.php.
Referenced by getQuestion().
|
protected |
Definition at line 32 of file class.ilObjPoll.php.
Referenced by getSortResultByVotes().
|
protected |
Definition at line 34 of file class.ilObjPoll.php.
Referenced by getShowComments().
|
protected |
Definition at line 35 of file class.ilObjPoll.php.
Referenced by getShowResultsAs().
|
protected |
Definition at line 25 of file class.ilObjPoll.php.
Referenced by getViewResults().
const ilObjPoll::SHOW_RESULTS_AS_BARCHART = 1 |
Definition at line 42 of file class.ilObjPoll.php.
Referenced by ilObjPollGUI\initEditCustomForm().
const ilObjPoll::SHOW_RESULTS_AS_PIECHART = 2 |
Definition at line 43 of file class.ilObjPoll.php.
Referenced by ilPollBlockGUI\fillRow(), and ilObjPollGUI\initEditCustomForm().
const ilObjPoll::VIEW_RESULTS_AFTER_PERIOD = 4 |
Definition at line 40 of file class.ilObjPoll.php.
Referenced by ilObjPollGUI\initEditCustomForm(), ilPollBlock\mayNotResultsYet(), ilPollBlock\maySeeResults(), and ilObjPollGUI\validateCustom().
const ilObjPoll::VIEW_RESULTS_AFTER_VOTE = 3 |
Definition at line 39 of file class.ilObjPoll.php.
Referenced by ilObjPollGUI\initEditCustomForm(), and ilPollBlock\maySeeResults().
const ilObjPoll::VIEW_RESULTS_ALWAYS = 1 |
Definition at line 37 of file class.ilObjPoll.php.
Referenced by ilObjPollGUI\initEditCustomForm(), and ilPollBlock\maySeeResults().
const ilObjPoll::VIEW_RESULTS_NEVER = 2 |
Definition at line 38 of file class.ilObjPoll.php.
Referenced by ilObjPollGUI\initEditCustomForm(), and ilPollBlock\maySeeResults().