phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] skel class.base.php,1.1.2.1.2.9,1.1.2.1.2.10


From: Dan Kuykendall <address@hidden>
Subject: [Phpgroupware-cvs] skel class.base.php,1.1.2.1.2.9,1.1.2.1.2.10
Date: Fri, 31 Oct 2003 08:42:35 +0000

Update of /cvsroot/phpgroupware/skel
In directory subversions:/tmp/cvs-serv23958/skel

Modified Files:
      Tag: proposal-branch
        class.base.php 
Log Message:
put initial inline doc standard in place

Index: class.base.php
===================================================================
RCS file: /cvsroot/phpgroupware/skel/Attic/class.base.php,v
retrieving revision 1.1.2.1.2.9
retrieving revision 1.1.2.1.2.10
diff -C2 -d -r1.1.2.1.2.9 -r1.1.2.1.2.10
*** class.base.php      28 Oct 2003 10:13:30 -0000      1.1.2.1.2.9
--- class.base.php      31 Oct 2003 08:42:33 -0000      1.1.2.1.2.10
***************
*** 15,97 ****
        /* $Source$ */
  
        $GLOBALS['skel_base_menus_loaded'] = False;
        class skel_base
        {
                var $sec;
-               var $prefs = array(
-                       0 => array(
-                               'type'  => 'inputbox',
-                               'name'  => 'inputbox_a',
-                               'label' => 'inputbox_label_a',
-                               'value' => 'value_a',
-                       ),
-                       1 => array(
-                               'type'  => 'inputbox',
-                               'name'  => 'inputbox_b',
-                               'label' => 'inputbox_label_b',
-                               'value' => 'value_b',
-                       ),
-                       2 => array(
-                               'type'  => 'checkbox',
-                               'name'  => 'checkbox_a',
-                               'label' => 'checkbox_label_a',
-                               'value' => 'checkbox_value_a',
-                               'checked' => True
-                       ),
-                       3 => array(
-                               'type'    => 'inputbox',
-                               'name'    => 'inputbox_c',
-                               'label'   => 'inputbox_label_c',
-                               'value'   => 'value_c'
-                       ),
-                       4 => array(
-                               'type'   => 'selectbox',
-                               'name'   => 'selectbox_a',
-                               'label'  => 'selectbox_label_a',
-                               'values' => array(
-                                       0 => array(
-                                               'value'    => 'select_value_a',
-                                               'text'     => 'select_text_a'
-                                       ),
-                                       1 => array(
-                                               'value'    => 'select_value_b',
-                                               'text'     => 'select_text_b',
-                                               'selected' => True
-                                       ),
-                                       2 => array(
-                                               'value'    => 'select_value_c',
-                                               'text'     => 'select_text_c'
-                                       ),
-                               )
-                       ),
-                       5 => array(
-                               'type'        => 'selectbox',
-                               'name'        => 'selectbox_b',
-                               'label'       => 'selectbox_label_b',
-                               'multiple'    => True,
-                               'size'        => 10,
-                               'values' => array(
-                                       0 => array(
-                                               'value'    => 'select_value_a',
-                                               'text'     => 'select_text_a'
-                                       ),
-                                       1 => array(
-                                               'value'    => 'select_value_b',
-                                               'text'     => 'select_text_b'
-                                       ),
-                                       2 => array(
-                                               'value'    => 'select_value_c',
-                                               'text'     => 'select_text_c',
-                                               'selected' => True
-                                       ),
-                               )
-                       ),
-                       6 => array(
-                               'type'  => 'checkbox',
-                               'name'  => 'checkbox_b',
-                               'label' => 'checkbox_label_b',
-                               'value' => 'checkbox_value_b'
-                       )
-               );
  
                function skel_base()
--- 15,58 ----
        /* $Source$ */
  
+       $functions = array();
+       $functions['skel_base'] = array(
+               'type'=>'internal',
+               'abstract'=>'Loads up the side menu data'
+       );
+ 
+       $functions['start'] = array(
+               'type'=>'public',
+               'title'=>'Demo App',
+               'abstract'=>'Starting point for the Demo app'
+       );
+       
+       $functions['htmloutputtest'] = array(
+               'type'=>'public',
+               'title'=>'HTML Output Test',
+               'abstract'=>'Show how html data can be outputted by an app if 
nessesary.',
+               'discussion'=>'This may provide some level of porting 
possibilities.'
+       );
+ 
+       $functions['home_hook'] = array(
+               'type'=>'public',
+               'title'=>'Demo App Home Hook',
+               'abstract'=>'This hooks into the main page.'
+       );
+ 
+       $functions['acl_tester'] = array(
+               'type'=>'public',
+               'title'=>'ACL Tester',
+               'abstract'=>'Demonstrates the ACL class.'
+       );
+ 
+       $GLOBALS['docs']['classes']['skel_base'] = array(
+               'abstract'=>'Default class for the Demo App',
+               'functions'=>$functions
+       );
+       
        $GLOBALS['skel_base_menus_loaded'] = False;
        class skel_base
        {
                var $sec;
  
                function skel_base()
***************
*** 322,325 ****
                        return $result;
                }
-       }
  
--- 283,362 ----
                        return $result;
                }
  
+               var $prefs = array(
+                       0 => array(
+                               'type'  => 'inputbox',
+                               'name'  => 'inputbox_a',
+                               'label' => 'inputbox_label_a',
+                               'value' => 'value_a',
+                       ),
+                       1 => array(
+                               'type'  => 'inputbox',
+                               'name'  => 'inputbox_b',
+                               'label' => 'inputbox_label_b',
+                               'value' => 'value_b',
+                       ),
+                       2 => array(
+                               'type'  => 'checkbox',
+                               'name'  => 'checkbox_a',
+                               'label' => 'checkbox_label_a',
+                               'value' => 'checkbox_value_a',
+                               'checked' => True
+                       ),
+                       3 => array(
+                               'type'    => 'inputbox',
+                               'name'    => 'inputbox_c',
+                               'label'   => 'inputbox_label_c',
+                               'value'   => 'value_c'
+                       ),
+                       4 => array(
+                               'type'   => 'selectbox',
+                               'name'   => 'selectbox_a',
+                               'label'  => 'selectbox_label_a',
+                               'values' => array(
+                                       0 => array(
+                                               'value'    => 'select_value_a',
+                                               'text'     => 'select_text_a'
+                                       ),
+                                       1 => array(
+                                               'value'    => 'select_value_b',
+                                               'text'     => 'select_text_b',
+                                               'selected' => True
+                                       ),
+                                       2 => array(
+                                               'value'    => 'select_value_c',
+                                               'text'     => 'select_text_c'
+                                       ),
+                               )
+                       ),
+                       5 => array(
+                               'type'        => 'selectbox',
+                               'name'        => 'selectbox_b',
+                               'label'       => 'selectbox_label_b',
+                               'multiple'    => True,
+                               'size'        => 10,
+                               'values' => array(
+                                       0 => array(
+                                               'value'    => 'select_value_a',
+                                               'text'     => 'select_text_a'
+                                       ),
+                                       1 => array(
+                                               'value'    => 'select_value_b',
+                                               'text'     => 'select_text_b'
+                                       ),
+                                       2 => array(
+                                               'value'    => 'select_value_c',
+                                               'text'     => 'select_text_c',
+                                               'selected' => True
+                                       ),
+                               )
+                       ),
+                       6 => array(
+                               'type'  => 'checkbox',
+                               'name'  => 'checkbox_b',
+                               'label' => 'checkbox_label_b',
+                               'value' => 'checkbox_value_b'
+                       )
+               );
+               
+       }





reply via email to

[Prev in Thread] Current Thread [Next in Thread]