protected function _layoutForm()
    {
        if (!$this->expiresOn) {
            $expiresOn = new AnDate();

            $expiresOn->addMonths(1);

            $this->set(array(
                'expiresOn' => $expiresOn,
            ));
        }
    }
protected function _layoutForm()
    {
        if (!$this->expiresOn) {
            $expiresOn = new AnDate();

            $expiresOn->addMonths(1);

            $this->set(array(
                'expiresOn' => $expiresOn,
            ));
        }
    }
protected function _layoutForm ( ) { if ( ! $ this -> expiresOn ) { $ expiresOn = new AnDate ( ) ; $ expiresOn -> addMonths ( 1 ) ; $ this -> set ( array ( 'expiresOn' => $ expiresOn , ) ) ; } }
Prepare form layout.
Prepare form layout .