PHP Classes

File: app/modules/blog/views/post/index.php

Recommend this page to a friend!
  Classes of Oleg Lunegov   MicroPHP Framework   app/modules/blog/views/post/index.php   Download  
File: app/modules/blog/views/post/index.php
Role: Example script
Content type: text/plain
Description: Example script
Class: MicroPHP Framework
MVC framework for Web or command line applications
Author: By
Last change: Update of app/modules/blog/views/post/index.php
Date: 9 months ago
Size: 542 bytes
 

Contents

Class file image Download
<?php
use Micro\web\Html\Html;
use
Micro\web\Language;

/** @var App\Components\View $this */
/** @var array $blogs */
/** @var integer $page */
/** @var Language $lang */

$this->widget('App\Modules\Blog\Widgets\TopblogsWidget');
echo
Html::href('???????', '/blog/post/create');
?>

<?php
echo $this->widget('\Micro\Widget\ListViewWidget', [
   
'data' => $blogs,
   
'page' => $page,
   
'pathView' => __DIR__ . '/_view.php',
   
'paginationConfig' => [
       
'url' => '/blog/post/index/'
   
]
]);
?>

<p><?= $lang->hello; ?></p>