PHP Classes
elePHPant
Icontem

File: view/album/album/edit.phtml

Recommend this page to a friend!
  Classes of Haseeb Ahmad Basil  >  PHP Album Manager  >  view/album/album/edit.phtml  >  Download  
File: view/album/album/edit.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: 3 years ago
Size: 576 bytes
 

 

Contents

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

$title = 'Edit album';
$this->headTitle($title);
?>
<h1><?php echo $this->escapeHtml($title); ?></h1>

<?php
$form
= $this->form;
$form->setAttribute('action', $this->url(
   
'album',
    array(
       
'action' => 'edit',
       
'id' => $this->id,
    )
));
$form->prepare();

echo
$this->form()->openTag($form);
echo
$this->formHidden($form->get('id'));
echo
$this->formRow($form->get('title'));
echo
$this->formRow($form->get('artist'));
echo
$this->formSubmit($form->get('submit'));
echo
$this->form()->closeTag();