PHP Classes

File: examples/library/www/authors.php

Recommend this page to a friend!
  Classes of Victor Bolshov  >  Tiny PHP ORM Framework  >  examples/library/www/authors.php  >  Download  
File: examples/library/www/authors.php
Role: Example script
Content type: text/plain
Description: Application script
Class: Tiny PHP ORM Framework
Map objects to databases using composed queries
Author: By
Last change:
Date: 6 years ago
Size: 430 bytes


Class file image Download

use \tinyorm\Select;

__DIR__ . "/../bootstrap.php";

$authors = (new Select("author"))->orderBy("name")->execute();

echo \
library\View::render("header.php", [
"title" => "Tinyorm Library: Authors",
"description" => \library\View::render("sidebar/authors.html"),

echo \
"authors" => $authors,

echo \
library\View::render("footer.php"); ?>

For more information send a message to info at phpclasses dot org.