Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alceanicu/zce
/ functions
Functions
138 in github.com/alceanicu/zce
⨍
Functions
138
◇
Types & classes
101
↓ 18 callers
Method
error
* Logs messages or objects with the error level. * Works the same as console.log().
src/app/core/services/logger/logger.service.ts:102
↓ 9 callers
Method
info
* Logs messages or objects with the info level. * Works the same as console.log().
src/app/core/services/logger/logger.service.ts:85
↓ 5 callers
Method
getQuestion
(index: number)
src/app/exam/exam.component.ts:198
↓ 4 callers
Method
log
(func: (...args: any[]) => void, level: LogLevel, objects: any[])
src/app/core/services/logger/logger.service.ts:106
↓ 3 callers
Method
setValue
(value: any)
src/app/core/interfaces/data-service.interface.ts:8
↓ 3 callers
Method
start
(count: number)
src/app/core/services/countdown/countdown.service.ts:22
↓ 2 callers
Method
clear
* Clear all LocalStorage
src/app/core/services/local-storage/local-storage.service.ts:42
↓ 2 callers
Method
finishExam
()
src/app/exam/exam.component.ts:187
↓ 2 callers
Method
getItem
* Retrieve a value by the key from LocalStorage
src/app/core/services/local-storage/local-storage.service.ts:28
↓ 2 callers
Method
getQuestionById
(id: number, subscriber: Subscriber<Question>)
src/app/core/services/question/question.service.ts:56
↓ 2 callers
Method
getQuestionFromFirebase
(id: number, subscriber: Subscriber<IQuestion>)
src/app/core/services/question/question.service.ts:91
↓ 2 callers
Method
getRandomQuestion
()
src/app/prepare/prepare.component.ts:62
↓ 2 callers
Method
getValue
()
src/app/core/interfaces/data-service.interface.ts:6
↓ 2 callers
Method
highlightAll
()
src/app/core/services/prism/prism.service.ts:29
↓ 2 callers
Method
openSnackBar
(data: any, className: string, action: string = 'close')
src/app/exam/exam.component.ts:232
↓ 2 callers
Method
randomNumberFromInterval
* Returns a random integer between min (inclusive) and max (inclusive). * The value is no lower than min (or the next integer greater than min if m
src/app/core/utils/helper.ts:8
↓ 2 callers
Method
setInternalParams
(questionNumber: number = 1, internalCounter: number = 0)
src/app/core/services/question/question.service.ts:51
↓ 2 callers
Method
setItem
* Add key and value to LocalStorage
src/app/core/services/local-storage/local-storage.service.ts:21
↓ 2 callers
Method
setQuestion
(question: Question, subscriber: Subscriber<IQuestion>)
src/app/core/services/question/question.service.ts:121
↓ 2 callers
Method
validate
(isValidated: boolean)
src/app/core/interfaces/question.interface.ts:14
↓ 1 callers
Method
addQuestion
* Used by backend
src/app/core/services/firestore/php-question.service.ts:45
↓ 1 callers
Method
canExit
()
src/app/exam/exam.component.ts:112
↓ 1 callers
Method
clearQuestionTableByVersion
()
src/app/core/services/indexeddb/indexed-db-quiz.service.ts:42
↓ 1 callers
Method
countdown
()
src/app/core/services/countdown/countdown.service.ts:18
↓ 1 callers
Method
enableProductionMode
* Enables production mode. * Sets logging level to LogLevel.Warning.
src/app/core/services/logger/logger.service.ts:66
↓ 1 callers
Method
finish
()
src/app/core/models/exam.model.ts:29
↓ 1 callers
Method
generateArrayWithRandomUniqueElement
( arraySize: number, max: number, min: number = 1, excludeArray: Array<number> = [], sorte
src/app/core/utils/helper.ts:14
↓ 1 callers
Method
generateRandomIdWithoutRepeatInLastN
(internalCounter: number = 0, key: string = 'phpLastNIds')
src/app/core/services/question/question.service.ts:73
↓ 1 callers
Method
getCurrentUrl
()
src/app/app.component.ts:81
↓ 1 callers
Method
getOneQuestionById
(id: number)
src/app/core/services/question/question.service.ts:43
↓ 1 callers
Method
getQuestion
(questionNumber: number = 1)
src/app/core/services/question/question.service.ts:33
↓ 1 callers
Method
getTimeString
(endTime: Moment)
src/app/exam/exam.component.ts:221
↓ 1 callers
Method
getTitleText
()
e2e/src/app.po.ts:8
↓ 1 callers
Method
init
* initialize - FIXME
src/app/core/models/question.model.ts:50
↓ 1 callers
Method
isValidRowAnswer
(i: number)
src/app/core/models/question.model.ts:39
↓ 1 callers
Method
navigateTo
()
e2e/src/app.po.ts:4
↓ 1 callers
Method
openSnackBar
(data: any, className: string, action: string = 'next question')
src/app/prepare/prepare.component.ts:107
↓ 1 callers
Method
openSnackBar
(data: any, className: string, action: string = 'close')
src/app/home/home.component.ts:74
↓ 1 callers
Method
randomizeAnswers
()
src/app/core/models/question.model.ts:43
↓ 1 callers
Method
removeItem
* Remove an item by key from LocalStorage
src/app/core/services/local-storage/local-storage.service.ts:35
↓ 1 callers
Method
reset
()
src/app/prepare/prepare.component.ts:89
↓ 1 callers
Method
saveToIndexedDb
(question: IQuestion)
src/app/core/services/question/question.service.ts:111
↓ 1 callers
Method
setQuestion
(index: number, question: Question | null)
src/app/core/models/exam.model.ts:43
↓ 1 callers
Method
updateScore
(isCorrect: boolean)
src/app/prepare/prepare.component.ts:96
Method
addQuestion
(question: IQuestion)
src/app/core/services/indexeddb/indexed-db-quiz.service.ts:28
Method
canDeactivate
( component: IDeactivate, currentRoute: ActivatedRouteSnapshot, currentState: RouterStateSnapshot,
src/app/core/guards/exam/exam.guard.ts:10
Method
clear
* Empties the list associated with the object of all key/value pairs, if there are any.
src/app/core/services/session-storage/session-storage.service.ts:18
Method
clear
()
src/app/core/services/sync-countdown-time/sync-countdown-time.service.ts:28
Method
clearQuestionTable
()
src/app/core/services/indexeddb/indexed-db-quiz.service.ts:51
Method
clickMark
(event: MatButtonToggleChange)
src/app/exam/exam.component.ts:157
Function
constructor
( private readonly key: string, private readonly defaultValue: any, private readonly sessionStorag
src/app/core/utils/abstract/sync-abstract.ts:10
Method
constructor
( private matIconRegistry: MatIconRegistry, private domSanitizer: DomSanitizer, private router: Ro
src/app/app.component.ts:31
Method
constructor
( private ngxUiLoaderService: NgxUiLoaderService, private syncScoreService: SyncScoreService, priv
src/app/prepare/prepare.component.ts:27
Method
constructor
(private source?: string)
src/app/core/services/logger/logger.service.ts:70
Method
constructor
()
src/app/core/services/pdf/pdf.service.ts:19
Method
constructor
( @Inject(PLATFORM_ID) private platformId: object )
src/app/core/services/prism/prism.service.ts:24
Method
constructor
( private db: AngularFirestore )
src/app/core/services/firestore/php-question.service.ts:20
Method
constructor
()
src/app/core/services/sync-location/sync-location.service.ts:14
Method
constructor
()
src/app/core/services/indexeddb/indexed-db-quiz.service.ts:11
Method
constructor
()
src/app/core/services/indexeddb/indexed-db-quiz.service.ts:24
Method
constructor
()
src/app/core/services/session-storage/session-storage.service.ts:9
Method
constructor
()
src/app/core/services/sync-countdown-time/sync-countdown-time.service.ts:16
Method
constructor
()
src/app/core/services/sync-score/sync-score.service.ts:16
Method
constructor
()
src/app/core/services/local-storage/local-storage.service.ts:12
Method
constructor
( private firestorePhpQuestionService: PhpQuestionService, private indexedDbQuizService: IndexedDbQuiz
src/app/core/services/question/question.service.ts:25
Method
constructor
(values?: ICountdownTime)
src/app/core/models/countdown-time.model.ts:6
Method
constructor
(values?: IExam)
src/app/core/models/exam.model.ts:17
Method
constructor
(values?: IQuestion)
src/app/core/models/question.model.ts:16
Method
constructor
(values?: IScore)
src/app/core/models/score.model.ts:8
Method
constructor
( private questionService: QuestionService, private pdfService: PdfService, private snackBar: MatS
src/app/home/home.component.ts:26
Method
constructor
( @Inject(MAT_DIALOG_DATA) private data: any, private dialogRef: MatDialogRef<ConfirmComponent> )
src/app/shared/confirm/confirm.component.ts:14
Method
constructor
( private syncLocationService: SyncLocationService )
src/app/shared/layout/footer/footer.component.ts:19
Method
constructor
( private syncScoreService: SyncScoreService, private syncLocationService: SyncLocationService, pr
src/app/shared/layout/header/header.component.ts:22
Method
constructor
( private cdr: ChangeDetectorRef )
src/app/shared/question-display/question-display.component.ts:21
Method
constructor
( private cdr: ChangeDetectorRef )
src/app/about/about.component.ts:15
Method
constructor
( private router: Router, private dialog: MatDialog, private snackBar: MatSnackBar, private pr
src/app/exam/exam.component.ts:33
Method
currentIndex
()
src/app/exam/exam.component.ts:137
Method
debug
* Logs messages or objects with the debug level. * Works the same as console.log().
src/app/core/services/logger/logger.service.ts:77
Method
deleteQuestion
* Used by backend
src/app/core/services/firestore/php-question.service.ts:87
Method
deleteQuestion
(id: number)
src/app/core/services/indexeddb/indexed-db-quiz.service.ts:59
Function
destroy
(key: string)
src/app/core/utils/abstract/sync-abstract.ts:35
Method
generatePDF
(questionArray: Question[], pdfName: string = '')
src/app/core/services/pdf/pdf.service.ts:26
Method
generatePDF
(questionNumber: number)
src/app/home/home.component.ts:47
Method
getAllQuestions
()
src/app/core/services/indexeddb/indexed-db-quiz.service.ts:63
Function
getCurrentValue
()
src/app/core/utils/abstract/sync-abstract.ts:26
Method
getItem
* value = storage[key]
src/app/core/services/session-storage/session-storage.service.ts:25
Method
getNextQuestion
()
src/app/exam/exam.component.ts:169
Method
getPhpConfig
* Used by backend
src/app/core/services/firestore/php-question.service.ts:36
Method
getPrevQuestion
()
src/app/exam/exam.component.ts:165
Method
getQuestion
(id: number)
src/app/core/services/firestore/php-question.service.ts:27
Method
getQuestionById
(id: number)
src/app/core/services/indexeddb/indexed-db-quiz.service.ts:38
Method
getValue
()
src/app/core/services/sync-location/sync-location.service.ts:19
Method
getValue
()
src/app/core/services/sync-countdown-time/sync-countdown-time.service.ts:20
Method
getValue
()
src/app/core/services/sync-score/sync-score.service.ts:20
Method
goToHome
()
src/app/exam/exam.component.ts:177
Method
hasMarkForReview
()
src/app/exam/exam.component.ts:153
Function
initApp
(iDb: IndexedDbQuizService)
src/app/app.module.ts:19
Method
isDisabledMarkForReviewBtn
()
src/app/exam/exam.component.ts:149
Method
isDisabledNextBtn
()
src/app/exam/exam.component.ts:145
Method
isDisabledPrevBtn
()
src/app/exam/exam.component.ts:141
next →
1–100 of 138, ranked by callers