public static function name($_model_id, $dom_id) { $module = static::$module; $modeler = $module::model()->modeler; if (!($modeler::exists($_model_id, 'id') && (\Sequode\Application\Modules\Account\Authority::isOwner($modeler::model()) || \Sequode\Application\Modules\Account\Authority::isSystemOwner()))) { return; } return DOMElementKitJS::placeForm(ModuleForm::render($module::$registry_key, __FUNCTION__), $dom_id); }
public static function updateName($_model_id, $dom_id) { $module = static::$module; $modeler = $module::model()->modeler; if (!$modeler::exists($_model_id, 'id')) { return; } return DOMElementKitJS::placeForm(ModuleForm::render($module::$registry_key, __FUNCTION__), $dom_id); }
public static function selectPalette($dom_id) { $module = static::$module; return DOMElementKitJS::placeForm(ModuleForm::render($module::$registry_key, __FUNCTION__), $dom_id); }