|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
Inheritance diagram for ilObjPoll:
Collaboration diagram for ilObjPoll:Public Member Functions | |
| __construct (int $a_id=0, bool $a_reference=true) | |
| setAccessType (int $a_value) | |
| getAccessType () | |
| setAccessBegin (int $a_value) | |
| getAccessBegin () | |
| setAccessEnd (int $a_value) | |
| getAccessEnd () | |
| setAccessVisibility (bool $a_value) | |
| getAccessVisibility () | |
| setQuestion (string $a_value) | |
| getQuestion () | |
| setImage (string $a_value) | |
| getImage () | |
| setViewResults (int $a_value) | |
| getViewResults () | |
| setVotingPeriod (bool $a_value) | |
| getVotingPeriod () | |
| setVotingPeriodBegin (int $a_value) | |
| getVotingPeriodBegin () | |
| setVotingPeriodEnd (int $a_value) | |
| getVotingPeriodEnd () | |
| setMaxNumberOfAnswers (int $a_value) | |
| getMaxNumberOfAnswers () | |
| setSortResultByVotes (bool $a_value) | |
| getSortResultByVotes () | |
| setNonAnonymous (bool $a_value) | |
| getNonAnonymous () | |
| setShowComments (bool $a_value) | |
| getShowComments () | |
| setShowResultsAs (int $a_value) | |
| getShowResultsAs () | |
| getImageFullPath (bool $a_as_thumb=false) | |
| deleteImage () | |
| uploadImage (array $a_upload, bool $a_clone=false) | |
| getAnswers () | |
| getAnswer (int $a_id) | |
| saveAnswer (string $a_text, ?int $a_pos=null) | |
| updateAnswer (int $a_id, string $a_text) | |
| rebuildAnswerPositions () | |
| updateAnswerPositions (array $a_pos) | |
| deleteAnswer (int $a_id) | |
| deleteAllVotes () | |
| saveAnswers (array $a_answers) | |
| saveVote (int $a_user_id, array $a_answers) | |
| hasUserVoted (int $a_user_id) | |
| countVotes () | |
| getVotePercentages () | |
| getVotesByUsers () | |
Public Member Functions inherited from ilObject2 | |
| __construct (int $a_id=0, bool $a_reference=true) | |
| Constructor. More... | |
| read () | |
| create (bool $a_clone_mode=false) | |
| update () | |
| delete () | |
| cloneMetaData (ilObject $target_obj) | |
| cloneObject (int $target_id, int $copy_id=0, bool $omit_tree=false) | |
Public Member Functions inherited from ilObject | |
| getObjectProperties () | |
| flushObjectProperties () | |
| withReferences () | |
| determines whether objects are referenced or not (got ref ids or not) More... | |
| processAutoRating () | |
| read () | |
| getId () | |
| setId (int $id) | |
| setRefId (int $ref_id) | |
| getRefId () | |
| getType () | |
| setType (string $type) | |
| getPresentationTitle () | |
| get presentation title Normally same as title Overwritten for sessions More... | |
| getTitle () | |
| getUntranslatedTitle () | |
| Get untranslated object title WebDAV needs to access the untranslated title of an object. More... | |
| setTitle (string $title) | |
| getDescription () | |
| setDescription (string $description) | |
| getLongDescription () | |
| get object long description (stored in object_description) More... | |
| getImportId () | |
| setImportId (string $import_id) | |
| setOfflineStatus (bool $status) | |
| getOfflineStatus () | |
| supportsOfflineHandling () | |
| getOwner () | |
| getOwnerName () | |
| get full name of object owner More... | |
| setOwner (int $usr_id) | |
| getCreateDate () | |
| Get create date in YYYY-MM-DD HH-MM-SS format. More... | |
| getLastUpdateDate () | |
| Get last update date in YYYY-MM-DD HH-MM-SS format. More... | |
| create () | |
| note: title, description and type should be set when this function is called More... | |
| update () | |
| MDUpdateListener (string $element) | |
| Metadata update listener. More... | |
| createMetaData () | |
| updateMetaData () | |
| deleteMetaData () | |
| updateOwner () | |
| update owner of object in db More... | |
| putInTree (int $parent_ref_id) | |
| maybe this method should be in tree object!? More... | |
| setPermissions (int $parent_ref_id) | |
| setParentRolePermissions (int $parent_ref_id) | |
| Initialize the permissions of parent roles (local roles of categories, global roles...) This method is overwritten in e.g. More... | |
| createReference () | |
| creates reference for object More... | |
| countReferences () | |
| 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. More... | |
| applyDidacticTemplate (int $tpl_id) | |
| getXMLZip () | |
| getHTMLDirectory () | |
| appendCopyInfo (int $target_id, int $copy_id) | |
| Prepend Copy info if object with same name exists in that container. More... | |
| cloneDependencies (int $target_id, int $copy_id) | |
| Clone object dependencies. More... | |
| cloneMetaData (ilObject $target_obj) | |
| Copy meta data. More... | |
| selfOrParentWithRatingEnabled () | |
| getPossibleSubObjects (bool $filter=true) | |
| get all possible sub objects of this type the object can decide which types of sub objects are possible jut in time overwrite if the decision distinguish from standard model More... | |
Static Public Member Functions | |
| static | initStorage (int $a_id, ?string $a_subdir=null) |
| static | getImageSize () |
Static Public Member Functions inherited from ilObject | |
| static | _lookupObjIdByImportId (string $import_id) |
| Get (latest) object id for an import id. More... | |
| static | _lookupImportId (int $obj_id) |
| static | _lookupOwnerName (int $owner_id) |
| Lookup owner name for owner id. More... | |
| static | _getIdForImportId (string $import_id) |
| static | _getAllReferences (int $id) |
| get all reference ids for object ID More... | |
| static | _lookupTitle (int $obj_id) |
| static | lookupOfflineStatus (int $obj_id) |
| Lookup offline status using objectDataCache. More... | |
| static | _lookupOwner (int $obj_id) |
| Lookup owner user ID for object ID. More... | |
| static | _getIdsForTitle (string $title, string $type='', bool $partial_match=false) |
| static | _lookupDescription (int $obj_id) |
| static | _lookupLastUpdate (int $obj_id, bool $formatted=false) |
| static | _getLastUpdateOfObjects (array $obj_ids) |
| static | _lookupObjId (int $ref_id) |
| static | _setDeletedDate (int $ref_id, int $deleted_by) |
| static | setDeletedDates (array $ref_ids, int $user_id) |
| static | _resetDeletedDate (int $ref_id) |
| static | _lookupDeletedDate (int $ref_id) |
| static | _writeTitle (int $obj_id, string $title) |
| write title to db (static) More... | |
| static | _writeDescription (int $obj_id, string $desc) |
| write description to db (static) More... | |
| static | _writeImportId (int $obj_id, string $import_id) |
| write import id to db (static) More... | |
| static | _lookupType (int $id, bool $reference=false) |
| static | _isInTrash (int $ref_id) |
| static | _hasUntrashedReference (int $obj_id) |
| checks whether an object has at least one reference that is not in trash More... | |
| static | _lookupObjectId (int $ref_id) |
| static | _getObjectsDataForType (string $type, bool $omit_trash=false) |
| get all objects of a certain type More... | |
| static | _exists (int $id, bool $reference=false, ?string $type=null) |
| checks if an object exists in object_data More... | |
| static | _getObjectsByType (string $obj_type="", int $owner=null) |
| static | _prepareCloneSelection (array $ref_ids, string $new_type, bool $show_path=true) |
| Prepare copy wizard object selection. More... | |
| static | _getIcon (int $obj_id=0, string $size="big", string $type="", bool $offline=false) |
| Get icon for repository item. More... | |
| static | collectDeletionDependencies (array &$deps, int $ref_id, int $obj_id, string $type, int $depth=0) |
| Collect deletion dependencies. More... | |
| static | getDeletionDependencies (int $obj_id) |
| Get deletion dependencies. More... | |
| static | getLongDescriptions (array $obj_ids) |
| static | getAllOwnedRepositoryObjects (int $user_id) |
| static | fixMissingTitles ($type, array &$obj_title_map) |
| Try to fix missing object titles. More... | |
| static | _lookupCreationDate (int $obj_id) |
| static | _getObjectTypeIdByTitle (string $type, \ilDBInterface $ilDB=null) |
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 |
| const | DESC_LENGTH = 128 |
| const | LONG_DESC_LENGTH = 4000 |
| const | TABLE_OBJECT_DATA = "object_data" |
| array | $objectList |
| string | $untranslatedTitle |
Protected Member Functions | |
| initType () | |
| doRead () | |
| propertiesToDB () | |
| doCreate (bool $clone_mode=false) | |
| doUpdate () | |
| doDelete () | |
| doCloneObject (ilObject2 $new_obj, int $a_target_id, ?int $a_copy_id=0) | |
| deleteAllAnswers () | |
Protected Member Functions inherited from ilObject2 | |
| initType () | |
| doRead () | |
| doCreate (bool $clone_mode=false) | |
| beforeCreate () | |
| If overwritten this method should return true, there is currently no "abort" handling for cases where "false" is returned. More... | |
| doUpdate () | |
| beforeUpdate () | |
| doDelete () | |
| beforeDelete () | |
| doCloneObject (ilObject2 $new_obj, int $a_target_id, ?int $a_copy_id=null) | |
| beforeCloneObject () | |
Protected Member Functions inherited from ilObject | |
| doMDUpdateListener (string $a_element) | |
| beforeMDUpdateListener (string $a_element) | |
| doCreateMetaData () | |
| beforeCreateMetaData () | |
| doUpdateMetaData () | |
| beforeUpdateMetaData () | |
| doDeleteMetaData () | |
| beforeDeleteMetaData () | |
| handleAutoRating () | |
| hasAutoRating () | |
Private Attributes | |
| ILIAS Filesystem Util Convert LegacyImages | $image_converter |
Class ilObjPoll.
Definition at line 28 of file class.ilObjPoll.php.
| ilObjPoll::__construct | ( | int | $a_id = 0, |
| bool | $a_reference = true |
||
| ) |
Definition at line 57 of file class.ilObjPoll.php.
References $DIC, ILIAS\MetaData\Repository\Validation\Data\__construct(), setAccessType(), setViewResults(), setVotingPeriod(), and ilObjectActivation\TIMINGS_DEACTIVATED.
Here is the call graph for this function:| ilObjPoll::countVotes | ( | ) |
Definition at line 710 of file class.ilObjPoll.php.
References ilObject\getId().
Referenced by getVotePercentages().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 609 of file class.ilObjPoll.php.
References ilObject\$db, $ilDB, deleteAllVotes(), and ilObject\getId().
Referenced by doDelete().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjPoll::deleteAllVotes | ( | ) |
Definition at line 621 of file class.ilObjPoll.php.
References ilObject\$db, $ilDB, and ilObject\getId().
Referenced by deleteAllAnswers().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjPoll::deleteAnswer | ( | int | $a_id | ) |
Definition at line 596 of file class.ilObjPoll.php.
References ilObject\$db, and $ilDB.
Referenced by saveAnswers().
Here is the caller graph for this function:| ilObjPoll::deleteImage | ( | ) |
Definition at line 406 of file class.ilObjPoll.php.
References setImage().
Referenced by doDelete(), and uploadImage().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 343 of file class.ilObjPoll.php.
References ilCopyWizardOptions\_getInstance(), getAnswers(), getImage(), getImageFullPath(), getMaxNumberOfAnswers(), getNonAnonymous(), getQuestion(), getShowComments(), getShowResultsAs(), getSortResultByVotes(), getViewResults(), ilObject\setOfflineStatus(), ilObject2\update(), VIEW_RESULTS_AFTER_PERIOD, and VIEW_RESULTS_ALWAYS.
Here is the call graph for this function:
|
protected |
Definition at line 276 of file class.ilObjPoll.php.
References ilObject\$db, $ilDB, ilObject\getId(), and propertiesToDB().
Here is the call graph for this function:
|
protected |
Definition at line 326 of file class.ilObjPoll.php.
References ilObject\$db, $ilDB, deleteAllAnswers(), ilObjectActivation\deleteAllEntries(), deleteImage(), and ilObject\getId().
Here is the call graph for this function:
|
protected |
Definition at line 227 of file class.ilObjPoll.php.
References ilObject\$db, $ilDB, getAccessType(), ilObject\getId(), ilObjectActivation\getItem(), setAccessBegin(), setAccessEnd(), setAccessType(), setAccessVisibility(), setImage(), setMaxNumberOfAnswers(), setNonAnonymous(), setQuestion(), setShowComments(), setShowResultsAs(), setSortResultByVotes(), setViewResults(), setVotingPeriod(), setVotingPeriodBegin(), setVotingPeriodEnd(), ilObjectActivation\TIMINGS_ACTIVATION, and ilObjectActivation\TIMINGS_DEACTIVATED.
Here is the call graph for this function:
|
protected |
Definition at line 299 of file class.ilObjPoll.php.
References ilObject\$db, $ilDB, getAccessBegin(), getAccessEnd(), getAccessType(), getAccessVisibility(), ilObject\getId(), ilObject\getRefId(), getShowComments(), and propertiesToDB().
Here is the call graph for this function:| ilObjPoll::getAccessBegin | ( | ) |
Definition at line 92 of file class.ilObjPoll.php.
References $access_begin.
Referenced by doUpdate(), and ilPollStateInfo\isOfflineOrUnavailable().
Here is the caller graph for this function:| ilObjPoll::getAccessEnd | ( | ) |
Definition at line 102 of file class.ilObjPoll.php.
References $access_end.
Referenced by doUpdate(), and ilPollStateInfo\isOfflineOrUnavailable().
Here is the caller graph for this function:| ilObjPoll::getAccessType | ( | ) |
Definition at line 82 of file class.ilObjPoll.php.
References $access_type.
Referenced by doRead(), doUpdate(), and ilPollStateInfo\isOfflineOrUnavailable().
Here is the caller graph for this function:| ilObjPoll::getAccessVisibility | ( | ) |
Definition at line 112 of file class.ilObjPoll.php.
References $access_visibility.
Referenced by doUpdate().
Here is the caller graph for this function:| ilObjPoll::getAnswer | ( | int | $a_id | ) |
| ilObjPoll::getAnswers | ( | ) |
Definition at line 497 of file class.ilObjPoll.php.
References ilObject\$db, $ilDB, $res, and ilObject\getId().
Referenced by ilPollAnswersHandler\__construct(), doCloneObject(), ilPollStateInfo\hasQuestion(), rebuildAnswerPositions(), and saveAnswers().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjPoll::getImage | ( | ) |
Definition at line 132 of file class.ilObjPoll.php.
References $image.
Referenced by doCloneObject(), getImageFullPath(), and propertiesToDB().
Here is the caller graph for this function:| ilObjPoll::getImageFullPath | ( | bool | $a_as_thumb = false | ) |
Definition at line 391 of file class.ilObjPoll.php.
References $path, and getImage().
Referenced by doCloneObject(), and ilPollContentRenderer\render().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 486 of file class.ilObjPoll.php.
Referenced by ilObjPollGUI\initQuestionForm().
Here is the caller graph for this function:| ilObjPoll::getMaxNumberOfAnswers | ( | ) |
Definition at line 182 of file class.ilObjPoll.php.
References $max_number_answers.
Referenced by ilPollAnswersHandler\__construct(), doCloneObject(), and propertiesToDB().
Here is the caller graph for this function:| ilObjPoll::getNonAnonymous | ( | ) |
Definition at line 202 of file class.ilObjPoll.php.
References $mode_non_anonymous.
Referenced by doCloneObject(), propertiesToDB(), and ilPollContentRenderer\renderAnswers().
Here is the caller graph for this function:| ilObjPoll::getQuestion | ( | ) |
Definition at line 122 of file class.ilObjPoll.php.
References $question.
Referenced by doCloneObject(), propertiesToDB(), and ilPollContentRenderer\render().
Here is the caller graph for this function:| ilObjPoll::getShowComments | ( | ) |
Definition at line 212 of file class.ilObjPoll.php.
References $show_comments.
Referenced by doCloneObject(), doUpdate(), and ilPollContentRenderer\render().
Here is the caller graph for this function:| ilObjPoll::getShowResultsAs | ( | ) |
Definition at line 222 of file class.ilObjPoll.php.
References $show_results_as.
Referenced by doCloneObject(), propertiesToDB(), and ilPollContentRenderer\renderResults().
Here is the caller graph for this function:| ilObjPoll::getSortResultByVotes | ( | ) |
Definition at line 192 of file class.ilObjPoll.php.
References $result_sort_by_votes.
Referenced by ilPollResultsHandler\__construct(), doCloneObject(), and propertiesToDB().
Here is the caller graph for this function:| ilObjPoll::getViewResults | ( | ) |
Definition at line 142 of file class.ilObjPoll.php.
References $view_results.
Referenced by ilPollStateInfo\areResultsVisible(), doCloneObject(), propertiesToDB(), and ilPollStateInfo\willResultsBeShown().
Here is the caller graph for this function:| ilObjPoll::getVotePercentages | ( | ) |
Definition at line 720 of file class.ilObjPoll.php.
References $id, $res, countVotes(), ilObject\getId(), and ILIAS\Repository\int().
Referenced by ilPollResultsHandler\__construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjPoll::getVotesByUsers | ( | ) |
Definition at line 748 of file class.ilObjPoll.php.
References ilObject\$db, $ilDB, $res, ilObject\getId(), and ILIAS\Repository\int().
Here is the call graph for this function:| ilObjPoll::getVotingPeriod | ( | ) |
Definition at line 152 of file class.ilObjPoll.php.
References $period.
Referenced by ilPollStateInfo\hasVotingPeriodEnded(), ilPollStateInfo\hasVotingPeriodNotStarted(), and propertiesToDB().
Here is the caller graph for this function:| ilObjPoll::getVotingPeriodBegin | ( | ) |
Definition at line 162 of file class.ilObjPoll.php.
References $period_begin.
Referenced by ilPollStateInfo\hasVotingPeriodNotStarted(), propertiesToDB(), and ilPollContentRenderer\render().
Here is the caller graph for this function:| ilObjPoll::getVotingPeriodEnd | ( | ) |
Definition at line 172 of file class.ilObjPoll.php.
References $period_end.
Referenced by ilPollStateInfo\hasVotingPeriodEnded(), propertiesToDB(), ilPollContentRenderer\render(), ilPollContentRenderer\renderAnswers(), and ilPollContentRenderer\renderAnswersAndResults().
Here is the caller graph for this function:| ilObjPoll::hasUserVoted | ( | int | $a_user_id | ) |
Definition at line 699 of file class.ilObjPoll.php.
References ilObject\getId().
Referenced by ilPollStateInfo\hasUserAlreadyVoted(), and saveVote().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 416 of file class.ilObjPoll.php.
References $path.
Referenced by ilPollDataSet\getXmlRecord().
Here is the caller graph for this function:
|
protected |
Definition at line 72 of file class.ilObjPoll.php.
|
protected |
Definition at line 260 of file class.ilObjPoll.php.
References getImage(), getMaxNumberOfAnswers(), getNonAnonymous(), getQuestion(), getShowResultsAs(), getSortResultByVotes(), getViewResults(), getVotingPeriod(), getVotingPeriodBegin(), and getVotingPeriodEnd().
Referenced by doCreate(), and doUpdate().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjPoll::rebuildAnswerPositions | ( | ) |
Definition at line 565 of file class.ilObjPoll.php.
References $id, getAnswers(), ILIAS\Repository\int(), and updateAnswerPositions().
Here is the call graph for this function:| ilObjPoll::saveAnswer | ( | string | $a_text, |
| ?int | $a_pos = null |
||
| ) |
Definition at line 523 of file class.ilObjPoll.php.
References ilObject\$db, $id, $ilDB, ilObject\getId(), and ILIAS\Repository\int().
Referenced by saveAnswers().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjPoll::saveAnswers | ( | array | $a_answers | ) |
Definition at line 631 of file class.ilObjPoll.php.
References $id, deleteAnswer(), getAnswers(), ILIAS\Repository\int(), saveAnswer(), and updateAnswerPositions().
Here is the call graph for this function:| ilObjPoll::saveVote | ( | int | $a_user_id, |
| array | $a_answers | ||
| ) |
Definition at line 685 of file class.ilObjPoll.php.
References ilObject\getId(), and hasUserVoted().
Here is the call graph for this function:| ilObjPoll::setAccessBegin | ( | int | $a_value | ) |
Definition at line 87 of file class.ilObjPoll.php.
Referenced by doRead().
Here is the caller graph for this function:| ilObjPoll::setAccessEnd | ( | int | $a_value | ) |
Definition at line 97 of file class.ilObjPoll.php.
Referenced by doRead().
Here is the caller graph for this function:| ilObjPoll::setAccessType | ( | int | $a_value | ) |
Definition at line 77 of file class.ilObjPoll.php.
Referenced by __construct(), and doRead().
Here is the caller graph for this function:| ilObjPoll::setAccessVisibility | ( | bool | $a_value | ) |
Definition at line 107 of file class.ilObjPoll.php.
Referenced by doRead().
Here is the caller graph for this function:| ilObjPoll::setImage | ( | string | $a_value | ) |
Definition at line 127 of file class.ilObjPoll.php.
Referenced by deleteImage(), doRead(), and uploadImage().
Here is the caller graph for this function:| ilObjPoll::setMaxNumberOfAnswers | ( | int | $a_value | ) |
Definition at line 177 of file class.ilObjPoll.php.
Referenced by doRead().
Here is the caller graph for this function:| ilObjPoll::setNonAnonymous | ( | bool | $a_value | ) |
Definition at line 197 of file class.ilObjPoll.php.
Referenced by doRead().
Here is the caller graph for this function:| ilObjPoll::setQuestion | ( | string | $a_value | ) |
Definition at line 117 of file class.ilObjPoll.php.
Referenced by doRead().
Here is the caller graph for this function:| ilObjPoll::setShowComments | ( | bool | $a_value | ) |
Definition at line 207 of file class.ilObjPoll.php.
Referenced by doRead().
Here is the caller graph for this function:| ilObjPoll::setShowResultsAs | ( | int | $a_value | ) |
Definition at line 217 of file class.ilObjPoll.php.
Referenced by doRead().
Here is the caller graph for this function:| ilObjPoll::setSortResultByVotes | ( | bool | $a_value | ) |
Definition at line 187 of file class.ilObjPoll.php.
Referenced by doRead().
Here is the caller graph for this function:| ilObjPoll::setViewResults | ( | int | $a_value | ) |
Definition at line 137 of file class.ilObjPoll.php.
Referenced by __construct(), and doRead().
Here is the caller graph for this function:| ilObjPoll::setVotingPeriod | ( | bool | $a_value | ) |
Definition at line 147 of file class.ilObjPoll.php.
Referenced by __construct(), and doRead().
Here is the caller graph for this function:| ilObjPoll::setVotingPeriodBegin | ( | int | $a_value | ) |
Definition at line 157 of file class.ilObjPoll.php.
Referenced by doRead().
Here is the caller graph for this function:| ilObjPoll::setVotingPeriodEnd | ( | int | $a_value | ) |
Definition at line 167 of file class.ilObjPoll.php.
Referenced by doRead().
Here is the caller graph for this function:| ilObjPoll::updateAnswer | ( | int | $a_id, |
| string | $a_text | ||
| ) |
| ilObjPoll::updateAnswerPositions | ( | array | $a_pos | ) |
Definition at line 578 of file class.ilObjPoll.php.
References ilObject\$db, $id, and $ilDB.
Referenced by rebuildAnswerPositions(), and saveAnswers().
Here is the caller graph for this function:| ilObjPoll::uploadImage | ( | array | $a_upload, |
| bool | $a_clone = false |
||
| ) |
Definition at line 434 of file class.ilObjPoll.php.
References $path, deleteImage(), ilFileUtils\moveUploadedFile(), and setImage().
Here is the call graph for this function:
|
protected |
Definition at line 32 of file class.ilObjPoll.php.
Referenced by getAccessBegin().
|
protected |
Definition at line 33 of file class.ilObjPoll.php.
Referenced by getAccessEnd().
|
protected |
Definition at line 31 of file class.ilObjPoll.php.
Referenced by getAccessType().
|
protected |
Definition at line 34 of file class.ilObjPoll.php.
Referenced by getAccessVisibility().
|
protected |
Definition at line 36 of file class.ilObjPoll.php.
Referenced by getImage().
|
private |
Definition at line 55 of file class.ilObjPoll.php.
|
protected |
Definition at line 42 of file class.ilObjPoll.php.
Referenced by getMaxNumberOfAnswers().
|
protected |
Definition at line 44 of file class.ilObjPoll.php.
Referenced by getNonAnonymous().
|
protected |
Definition at line 30 of file class.ilObjPoll.php.
|
protected |
Definition at line 38 of file class.ilObjPoll.php.
Referenced by getVotingPeriod().
|
protected |
Definition at line 39 of file class.ilObjPoll.php.
Referenced by getVotingPeriodBegin().
|
protected |
Definition at line 40 of file class.ilObjPoll.php.
Referenced by getVotingPeriodEnd().
|
protected |
Definition at line 35 of file class.ilObjPoll.php.
Referenced by getQuestion().
|
protected |
Definition at line 43 of file class.ilObjPoll.php.
Referenced by getSortResultByVotes().
|
protected |
Definition at line 45 of file class.ilObjPoll.php.
Referenced by getShowComments().
|
protected |
Definition at line 46 of file class.ilObjPoll.php.
Referenced by getShowResultsAs().
|
protected |
Definition at line 37 of file class.ilObjPoll.php.
Referenced by getViewResults().
| const ilObjPoll::SHOW_RESULTS_AS_BARCHART = 1 |
Definition at line 53 of file class.ilObjPoll.php.
Referenced by ilObjPollGUI\initEditCustomForm().
| const ilObjPoll::SHOW_RESULTS_AS_PIECHART = 2 |
Definition at line 54 of file class.ilObjPoll.php.
Referenced by ilObjPollGUI\initEditCustomForm(), and ilPollResultsRenderer\render().
| const ilObjPoll::VIEW_RESULTS_AFTER_PERIOD = 4 |
Definition at line 51 of file class.ilObjPoll.php.
Referenced by ilPollStateInfo\areResultsVisible(), doCloneObject(), ilObjPollGUI\initEditCustomForm(), ilObjPollGUI\validateCustom(), and ilPollStateInfo\willResultsBeShown().
| const ilObjPoll::VIEW_RESULTS_AFTER_VOTE = 3 |
Definition at line 50 of file class.ilObjPoll.php.
Referenced by ilPollStateInfo\areResultsVisible(), ilPollDataSet\getXmlRecord(), and ilObjPollGUI\initEditCustomForm().
| const ilObjPoll::VIEW_RESULTS_ALWAYS = 1 |
Definition at line 48 of file class.ilObjPoll.php.
Referenced by ilPollStateInfo\areResultsVisible(), doCloneObject(), and ilObjPollGUI\initEditCustomForm().
| const ilObjPoll::VIEW_RESULTS_NEVER = 2 |
Definition at line 49 of file class.ilObjPoll.php.
Referenced by ilPollStateInfo\areResultsVisible(), and ilObjPollGUI\initEditCustomForm().