This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$this->headTitle("Ajouter un article"); | |
$formImage = $this->formImage; | |
$form = $this->form; | |
$form->setAttribute('action', $this->url('article', array('action' => 'add'))); | |
echo $this->form()->openTag($form); | |
?> | |
<dl class="zend_form span8"> | |
<dd><?php | |
echo $this->formInput($form->get('title')); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace User\Controller; | |
use Zend\Mvc\Controller\AbstractActionController; | |
use Zend\View\Model\ViewModel, | |
Zend\Session\Container, | |
Doctrine\ORM\EntityManager, | |
Zend\Form\Element; | |
use User\Entity\Article, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$this->headTitle("se connecter"); | |
$form = $this->form; | |
$form->setAttribute('action', $this->url('user', array('action' => 'login'))); | |
echo $this->form()->openTag($form); | |
?> | |
<dl class="zend_form"> | |
<dd><?php | |
echo $this->formInput($form->get('email')); | |
echo $this->formElementErrors($form->get('email')); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace User\Entity; | |
use Doctrine\ORM\Mapping as ORM, | |
Doctrine\Common\Collections\ArrayCollection; | |
/** | |
* Description of Image | |
* | |
* @author dudu |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Utilise une event du datepicker pour envoyer l'event change a l'objet | |
$('#addContrat_dateFinEffective').datepicker( 'option' , 'onSelect', function (date) { | |
$(this).change(); | |
}); |