| Line 34... | Line 34... | 
          
            | 34 |  
 | 34 |  
 | 
          
            | 35 | /* set up the _system table to plug in the module */
 | 35 | /* set up the _system table to plug in the module */
 | 
          
            | 36 | /* this is required, and officially installs the module */
 | 36 | /* this is required, and officially installs the module */
 | 
          
            | 37 | insert into _system ( group_name,key_name,theValue,added_date) values ( 'Modules', 'Attributes', 'modules/attributes/', now() );
 | 37 | insert into _system ( group_name,key_name,theValue,added_date) values ( 'Modules', 'Attributes', 'modules/attributes/', now() );
 | 
          
            | 38 | /* we will provide data to the main screen via a callback routine. In this case, function view is located in callable.php */
 | 38 | /* we will provide data to the main screen via a callback routine. In this case, function view is located in callable.php */
 | 
          
            | 39 | insert into _system( group_name,key_name,theValue,added_date ) values ( 'device view', 'Attributes', 'callable.php:attribuiteView', now() );
 | 39 | insert into _system( group_name,key_name,theValue,added_date ) values ( 'device view', 'Attributes', 'callable.php:attributeView', now() );
 | 
          
            | 40 |  
 | 40 |  
 | 
          
            | 41 | /* This has a menu entry, so add it */
 | 41 | /* This has a menu entry, so add it */
 | 
          
            | 42 | /* first, make sure we don't have any danglies */
 | 42 | /* first, make sure we don't have any danglies */
 | 
          
            | 43 | /* create three menu options. First one is the main menu option (ie, no parent_id) */
 | 43 | /* create three menu options. First one is the main menu option (ie, no parent_id) */
 | 
          
            | 44 | insert into menu( url, caption, parent_id) values ('/modules/attributes' , 'Attributes', null);
 | 44 | insert into menu( url, caption, parent_id) values ('/modules/attributes' , 'Attributes', null);
 |