protected function _layoutEdit()
    {
        $config = new AnConfig(array(
            'date' => $this->item->expiresOn,
        ));

        $this->set(array(
            'expiresOn' => new AnDate($config),
        ));
    }
protected function _layoutEdit()
    {
        $config = new AnConfig(array(
            'date' => $this->item->expiresOn,
        ));

        $this->set(array(
            'expiresOn' => new AnDate($config),
        ));
    }
protected function _layoutEdit ( ) { $ config = new AnConfig ( array ( 'date' => $ this -> item -> expiresOn , ) ) ; $ this -> set ( array ( 'expiresOn' => new AnDate ( $ config ) , ) ) ; }
Prepare edit layout.
Prepare edit layout .