<repo_name>abdeltiflouardi/bsound<file_sep>/nbproject/private/private.properties
copy.src.files=false
copy.src.target=/var/www/bsound
index.file=index.php
remote.connection=serv
remote.directory=/bsound
remote.upload=MANUALLY
run.as=REMOTE
url=http://bsound.trouvez-services.com/
<file_sep>/application/models/AddVideoForm.php
<?php

class Application_Model_AddVideoForm extends Zend_Form
{
    public function init(){
        $this->setMethod("post");

        $video = $this->createElement('text', 'video');
        $video  ->setRequired(true)
                ->setLabel("Video");

        $thumb = $this->createElement('text', 'thumb');
        $thumb->setLabel("Thumb")
                ->setRequired(true);

        // Ajout des éléments au formulaire
        $this->addElement($video)
            ->addElement($thumb)
            ->addElement('submit', 'add', array('label' => 'add'));
            
    }

}

<file_sep>/application/controllers/IndexController.php
<?php

class IndexController extends Zend_Controller_Action
{

    public function init()
    {
        /* Initialize action controller here */
    }

    public function indexAction()
    {
        // action body
        $v= new Application_Model_DbTable_Video();
        $this->view->list = $v->fetchAll()->toArray();
    }


}

