Skeleton player form/view/controller
This commit is contained in:
parent
a1436bfebb
commit
c261182c8f
6 changed files with 82 additions and 1 deletions
|
@ -0,0 +1,31 @@
|
|||
<?php
|
||||
|
||||
class EmbeddablePlayerController extends Zend_Controller_Action
|
||||
{
|
||||
public function init()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public function indexAction()
|
||||
{
|
||||
$form = new Application_Form_EmbeddablePlayer();
|
||||
|
||||
$request = $this->getRequest();
|
||||
|
||||
if ($request->isPost()) {
|
||||
$formValues = $request->getPost();
|
||||
if ($form->isValid($formValues)) {
|
||||
|
||||
$this->view->statusMsg = "<div class='success'>". _("Preferences updated.")."</div>";
|
||||
|
||||
} else {
|
||||
|
||||
}
|
||||
|
||||
$this->view->form = $form;
|
||||
}
|
||||
|
||||
$this->view->form = $form;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue