Archived
1
0
Fork 0
This repository has been archived on 2026-04-03. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
httpcb/app/controllers/backend/LogController.php

21 lines
450 B
PHP

<?php
namespace App\Controller\Backend;
use App\Model\Data\ActivityLog;
class LogController extends \Phalcon\Mvc\Controller
{
public function onConstruct()
{
$this->view->setLayout('side-menu');
}
public function indexAction($page = 1)
{
$paginator = ActivityLog::getAllPaginationList($page);
$this->view->page = $paginator->getPaginate();
$this->view->pagination_url = '/admin/log/';
}
}