/** * The editing gallery item handler. * * @access public * @param int $id The gallery item id. * @return string The HTML code. */ public function editi($id = null) { $Item = new Gallery_Item(); $Item = $Item->findItem(array('Id = ' . $id)); if (!$Item->Id) { return $this->halt(); } return parent::initForm($Item, 'editi'); }