ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
|
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 ($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 () | |
Public Member Functions inherited from ilObject2 | |
__construct ($a_id=0, $a_reference=true) | |
Constructor public. More... | |
withReferences () | |
read () | |
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 () | |
setOwner ($a_owner) | |
getCreateDate () | |
getLastUpdateDate () | |
create ($a_clone_mode=false) | |
update () | |
MDUpdateListener ($a_element) | |
createMetaData () | |
updateMetaData () | |
deleteMetaData () | |
updateOwner () | |
putInTree ($a_parent_ref) | |
setPermissions ($a_parent_ref) | |
createReference () | |
countReferences () | |
delete () | |
initDefaultRoles () | |
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) | |
Public Member Functions inherited from ilObject | |
__construct ($a_id=0, $a_reference=true) | |
Constructor public. More... | |
withReferences () | |
determines wehter objects are referenced or not (got ref ids or not) More... | |
read () | |
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 () | |
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... | |
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... | |
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... | |
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... | |
getPossibleSubObjects ($a_filter=true) | |
get all possible subobjects of this type the object can decide which types of subobjects are possible jut in time overwrite if the decision distinguish from standard model More... | |
Static Public Member Functions | |
static | initStorage ($a_id, $a_subdir=null) |
Init file system storage. More... | |
static | getImageSize () |
Static Public Member Functions inherited from ilObject2 | |
static | _lookupObjIdByImportId ($a_import_id) |
static | _lookupOwnerName ($a_owner_id) |
static | _getIdForImportId ($a_import_id) |
static | _getAllReferences ($a_id) |
static | _lookupTitle ($a_id) |
static | _lookupOwner ($a_id) |
static | _getIdsForTitle ($title, $type='', $partialmatch=false) |
static | _lookupDescription ($a_id) |
static | _lookupLastUpdate ($a_id, $a_as_string=false) |
static | _getLastUpdateOfObjects ($a_objs) |
static | _lookupObjId ($a_id) |
static | _setDeletedDate ($a_ref_id) |
static | _resetDeletedDate ($a_ref_id) |
static | _lookupDeletedDate ($a_ref_id) |
static | _writeTitle ($a_obj_id, $a_title) |
static | _writeDescription ($a_obj_id, $a_desc) |
static | _writeImportId ($a_obj_id, $a_import_id) |
static | _lookupType ($a_id, $a_reference=false) |
static | _isInTrash ($a_ref_id) |
static | _hasUntrashedReference ($a_obj_id) |
static | _lookupObjectId ($a_ref_id) |
static | _getObjectsDataForType ($a_type, $a_omit_trash=false) |
static | _exists ($a_id, $a_reference=false, $a_type=null) |
static | _getObjectsByType ($a_obj_type="", $a_owner="") |
static | _prepareCloneSelection ($a_ref_ids, $new_type, $a_show_path=true) |
static | _getIcon ($a_obj_id="", $a_size="big", $a_type="", $a_offline=false) |
Static Public Member Functions inherited from ilObject | |
static | _lookupObjIdByImportId ($a_import_id) |
static | _lookupImportId ($a_obj_id) |
static | _lookupOwnerName ($a_owner_id) |
lookup owner name for owner id More... | |
static | _getIdForImportId ($a_import_id) |
get current object id for import id (static) More... | |
static | _getAllReferences ($a_id) |
get all reference ids of object More... | |
static | _lookupTitle ($a_id) |
lookup object title More... | |
static | _lookupOwner ($a_id) |
lookup object owner More... | |
static | _getIdsForTitle ($title, $type='', $partialmatch=false) |
static | _lookupDescription ($a_id) |
lookup object description More... | |
static | _lookupLastUpdate ($a_id, $a_as_string=false) |
lookup last update More... | |
static | _getLastUpdateOfObjects ($a_objs) |
Get last update for a set of media objects. More... | |
static | _lookupObjId ($a_id) |
static | _setDeletedDate ($a_ref_id) |
only called in ilTree::saveSubTree More... | |
static | setDeletedDates ($a_ref_ids) |
Set deleted date type $ilDB. More... | |
static | _resetDeletedDate ($a_ref_id) |
only called in ilObjectGUI::insertSavedNodes More... | |
static | _lookupDeletedDate ($a_ref_id) |
only called in ilObjectGUI::insertSavedNodes More... | |
static | _writeTitle ($a_obj_id, $a_title) |
write title to db (static) More... | |
static | _writeDescription ($a_obj_id, $a_desc) |
write description to db (static) More... | |
static | _writeImportId ($a_obj_id, $a_import_id) |
write import id to db (static) More... | |
static | _lookupType ($a_id, $a_reference=false) |
lookup object type More... | |
static | _isInTrash ($a_ref_id) |
checks wether object is in trash More... | |
static | _hasUntrashedReference ($a_obj_id) |
checks wether an object has at least one reference that is not in trash More... | |
static | _lookupObjectId ($a_ref_id) |
lookup object id More... | |
static | _getObjectsDataForType ($a_type, $a_omit_trash=false) |
get all objects of a certain type 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 | fixMissingTitles ($a_type, array &$a_obj_title_map) |
Try to fix missing object titles. More... | |
static | _lookupCreationDate ($a_id) |
Lookup creation date. 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 |
Data Fields inherited from ilObject | |
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 | |
Protected Member Functions | |
doRead () | |
propertiesToDB () | |
doCreate () | |
doUpdate () | |
doDelete () | |
deleteAllAnswers () | |
Protected Member Functions inherited from ilObject2 | |
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 762 of file class.ilObjPoll.php.
References $ilDB, $row, and ilObject2\getId().
Referenced by getVotePercentages().
|
protected |
Definition at line 642 of file class.ilObjPoll.php.
References $ilDB, deleteAllVotes(), and ilObject2\getId().
Referenced by doDelete().
ilObjPoll::deleteAllVotes | ( | ) |
Definition at line 655 of file class.ilObjPoll.php.
References $ilDB, and ilObject2\getId().
Referenced by deleteAllAnswers().
ilObjPoll::deleteAnswer | ( | $a_id | ) |
Definition at line 628 of file class.ilObjPoll.php.
References $ilDB.
Referenced by saveAnswers().
ilObjPoll::deleteImage | ( | ) |
remove existing file
Definition at line 427 of file class.ilObjPoll.php.
References setImage().
Referenced by doDelete(), and uploadImage().
ilObjPoll::doCloneObject | ( | $new_obj, | |
$a_target_id, | |||
$a_copy_id = 0 |
|||
) |
Clone poll.
ilObjPoll | new object |
int | target ref_id |
int | copy id |
Definition at line 357 of file class.ilObjPoll.php.
References $image, ilCopyWizardOptions\_getInstance(), array, getAnswers(), getImage(), getImageFullPath(), getQuestion(), getShowComments(), getShowResultsAs(), getViewResults(), and isOnline().
|
protected |
Definition at line 277 of file class.ilObjPoll.php.
References $ilDB, array, ilObject2\getId(), and propertiesToDB().
|
protected |
Definition at line 330 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(), getAccessType(), ilObject2\getId(), ilObjectActivation\getItem(), ilObject2\getType(), setAccessBegin(), setAccessEnd(), setAccessType(), setAccessVisibility(), setImage(), setMaxNumberOfAnswers(), setNonAnonymous(), setOnline(), setQuestion(), setShowComments(), setShowResultsAs(), setSortResultByVotes(), setViewResults(), setVotingPeriod(), setVotingPeriodBegin(), setVotingPeriodEnd(), and ilObjectActivation\TIMINGS_ACTIVATION.
|
protected |
Definition at line 302 of file class.ilObjPoll.php.
References $ilDB, ilNote\activateComments(), array, 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 doRead(), and doUpdate().
ilObjPoll::getAccessVisibility | ( | ) |
Definition at line 106 of file class.ilObjPoll.php.
References $access_visibility.
Referenced by doUpdate().
ilObjPoll::getAnswer | ( | $a_id | ) |
Definition at line 546 of file class.ilObjPoll.php.
ilObjPoll::getAnswers | ( | ) |
Definition at line 529 of file class.ilObjPoll.php.
References $ilDB, $res, $row, array, 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 407 of file class.ilObjPoll.php.
References $img, $path, getImage(), and initStorage().
Referenced by doCloneObject().
|
static |
Definition at line 518 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 774 of file class.ilObjPoll.php.
References ilObject\$id, $ilDB, $res, $row, array, countVotes(), and ilObject2\getId().
ilObjPoll::getVotesByUsers | ( | ) |
Definition at line 800 of file class.ilObjPoll.php.
References $ilDB, $res, $row, array, 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 749 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 446 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 258 of file class.ilObjPoll.php.
References array, getImage(), getMaxNumberOfAnswers(), getNonAnonymous(), getQuestion(), getShowResultsAs(), getSortResultByVotes(), getViewResults(), getVotingPeriod(), getVotingPeriodBegin(), getVotingPeriodEnd(), and isOnline().
Referenced by doCreate(), and doUpdate().
ilObjPoll::rebuildAnswerPositions | ( | ) |
Definition at line 598 of file class.ilObjPoll.php.
References array, getAnswers(), and updateAnswerPositions().
ilObjPoll::saveAnswer | ( | $a_text, | |
$a_pos = null |
|||
) |
Definition at line 556 of file class.ilObjPoll.php.
References ilObject\$id, $ilDB, array, and ilObject2\getId().
Referenced by saveAnswers().
ilObjPoll::saveAnswers | ( | array | $a_answers | ) |
Definition at line 666 of file class.ilObjPoll.php.
References ilObject\$id, array, deleteAnswer(), getAnswers(), saveAnswer(), and updateAnswerPositions().
ilObjPoll::saveVote | ( | $a_user_id, | |
$a_answers | |||
) |
Definition at line 726 of file class.ilObjPoll.php.
References $ilDB, array, 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(), and doRead().
ilObjPoll::setQuestion | ( | $a_value | ) |
Definition at line 111 of file class.ilObjPoll.php.
References string.
Referenced by doRead().
ilObjPoll::setShowComments | ( | $a_value | ) |
Definition at line 201 of file class.ilObjPoll.php.
Referenced by doRead().
ilObjPoll::setShowResultsAs | ( | $a_value | ) |
Definition at line 211 of file class.ilObjPoll.php.
Referenced by 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(), 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 | |||
) |
Definition at line 589 of file class.ilObjPoll.php.
ilObjPoll::updateAnswerPositions | ( | array | $a_pos | ) |
Definition at line 611 of file class.ilObjPoll.php.
References ilObject\$id, $ilDB, and array.
Referenced by rebuildAnswerPositions(), and saveAnswers().
ilObjPoll::uploadImage | ( | array | $a_upload, |
$a_clone = false |
|||
) |
Upload new image file.
array | $a_upload |
Definition at line 473 of file class.ilObjPoll.php.
References $path, $success, deleteImage(), ilUtil\escapeShellArg(), ilUtil\execConvert(), initStorage(), ilUtil\moveUploadedFile(), and setImage().
|
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().