CMS
Version 3.9
show_log.inc
Go to the documentation of this file.
1
<?php
2
Fakoli::using
(
"scheduled_task"
);
3
4
$task_id
= checkNumeric($_GET[
"task_id"
]);
5
$log_entry_id
= checkNumeric($_GET[
"log_entry_id"
]);
6
7
if
(!
$task_id
|| !
$log_entry_id
)
8
{
9
Fakoli::end
(
"Missing Parameter"
);
10
}
11
12
$log
=
new
ScheduledTaskLogEntry
(
$log_entry_id
);
13
if
(
$log
->task_id !=
$task_id
)
14
{
15
Fakoli::end
(
"Parameter mismatch"
);
16
}
17
18
echo formatAsHTML(
$log
->log);
Fakoli\using
static using()
Import the datamodels, views and manifest for the specified component(s).
Definition:
core.inc:116
Fakoli\end
static end($message="")
Use this method to terminate execution of a script instead of using the php keywords exit() or die().
Definition:
core.inc:1149
ScheduledTaskLogEntry
Definition:
scheduled_task.inc:51
$log
if(! $task_id||! $log_entry_id) $log
Definition:
show_log.inc:12
$log_entry_id
$log_entry_id
Definition:
show_log.inc:5
$task_id
$task_id
Definition:
show_log.inc:4
code
cms.sonjara.com
cms
components
scheduled_task
handlers
show_log.inc
Generated on Tue Mar 23 2021 15:36:14 for CMS by
1.9.1