コード例 #1
0
ファイル: Forms.class.php プロジェクト: shawnlawyer/framework
 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);
 }
コード例 #2
0
ファイル: Forms.class.php プロジェクト: shawnlawyer/framework
 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);
 }
コード例 #3
0
ファイル: Forms.class.php プロジェクト: shawnlawyer/framework
 public static function selectPalette($dom_id)
 {
     $module = static::$module;
     return DOMElementKitJS::placeForm(ModuleForm::render($module::$registry_key, __FUNCTION__), $dom_id);
 }