Esempio n. 1
0
 /**
  * Prepare form layout
  * 
  * @return null
  */
 protected function _layoutForm()
 {
     if (!$this->expiresOn) {
         $expiresOn = new KDate();
         $expiresOn->addMonths(1);
         $this->set(array('expiresOn' => $expiresOn));
     }
 }