Location: PHPKode > projects > Atomik framework > atomik-3.0.0/example/app/actions/view.php
<?php

if (!isset($this['request.id'])) {
    $this->flash('Missing id parameter', 'error');
    $this->redirect('index');
}

$post = $this['db']->selectOne('posts', array('id' => $this['request.id']));
Return current item: Atomik framework