<?php
class
main
extends
base
{
public
function
index()
if
(
$this
->user) {
$jobs
= \application\models\Jobs::getByField(
"user_id"
,
->user->id);
echo
->loadRender(
"main.html"
, [
"jobs"
=>
]);
}
Download this file