PHP Classes

File: views/Products/show.mvc.php

Recommend this page to a friend!
  Classes of Faris AL-Otabi   PHP MVC Framework   views/Products/show.mvc.php   Download  
File: views/Products/show.mvc.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP MVC Framework
Example application using an MVC framework
Author: By
Last change:
Date: 1 month ago
Size: 299 bytes
 

Contents

Class file image Download
{% extends "base.mvc.php" %}

{% block title %}Product{% endblock %}

{% block body %}

<h1>{{ product["name"] }}</h1>

<p>{{ product["description"] }}</p>

<p><a href="/products/{{ product["id"] }}/edit">Edit</a></p>

<p><a href="/products/{{ product["id"] }}/delete">Delete</a></p>

{% endblock %}