Beispiel #1
0
 public static function get_help_style($data)
 {
     if ($data['handler_id'] == '____mfa-asgard-object_create') {
         // Check what type we're creating
         if ($data['new_type_arg'] == 'midgard_element') {
             // We should provide suggestions on element names
             return midgard_admin_asgard_objecthelper::get_help_style_elementnames($data['object']);
         }
         // We have no suitable help for creating substyles
         return;
     }
     // Provide a handy list of element names we can create
     return midgard_admin_asgard_objecthelper::get_help_style_elementnames($data['object']);
 }
<?php

midgard_admin_asgard_objecthelper::get_help($data);
?>
<div class="object_view">
    <?php 
$data['datamanager']->display_view();
?>
</div>