uawdijnntqw1x1x1
IP : 18.190.239.5
Hostname : axolotl
Kernel : Linux axolotl 4.9.0-13-amd64 #1 SMP Debian 4.9.228-1 (2020-07-05) x86_64
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
OS : Linux
PATH:
/
var
/
www
/
axolotl
/
data
/
www
/
axolotl.ru
/
www
/
bitrix
/
js
/
tasks
/
result
/
src
/
..
/
src
/
result.js
/
/
export class Result { taskId: null; isClosed: false; comments: []; context: null; constructor(taskId: number) { this.taskId = taskId; } setClosed(value: boolean) { this.isClosed = value; } setComments(comments: []) { this.comments = comments; } setContext(context: string) { this.context = context; } isResult(commentId: number) { if ( this.comments && this.comments[commentId] ) { return true; } return false; } pushComment(result) { this.comments[result.commentId] = result; } deleteComment(commentId) { this.comments[commentId] && delete this.comments[commentId]; } canSetAsResult(commentId) { if (this.comments[commentId]) { return false; } return true; } canUnsetAsResult(commentId) { if (!this.comments[commentId]) { return false; } if (this.comments[commentId].status == 1) { return false; } if (this.isClosed) { return false; } return true; } }
/var/www/axolotl/data/www/axolotl.ru/www/bitrix/js/tasks/result/src/../src/result.js