public static function pageLandEdit(Land $land) { $defaults = array(); $defaults['val'] = $land->getVals(); $html_form = self::getForm(Land::$_properties, 0, $defaults); $photos_html = self::getRealtyPhotosEdit($land); $block_content = self::getLandFormEdit($html_form, $photos_html, $land); $block_html = self::getBlock('Редактирование объявления по земельному участку', $block_content); return $block_html; }