PHP Classes

File: view/album/album/add.phtml

Recommend this page to a friend!
  Classes of Haseeb Ahmad Basil   PHP Album Manager   view/album/album/add.phtml   Download  
File: view/album/album/add.phtml
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP Album Manager
Manage a list of albums with Zend Framework 2
Author: By
Last change:
Date: 7 years ago
Size: 382 bytes
 

Contents

Class file image Download
<?php
// module/Album/view/album/album/add.phtml:

$title = 'Add new album';
$this->headTitle($title);
?>
<h1><?php echo $this->escapeHtml($title); ?></h1>
<?php
$form
= $this->form;
$form->setAttribute('action', $this->url('album', array('action' => 'add')));
$form->prepare();

echo
$this->form()->openTag($form);
echo
$this->formCollection($form);
echo
$this->form()->closeTag();