[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] skel class.base.php,1.1.2.1.2.10,1.1.2.1.2.11
From: |
Dan Kuykendall <address@hidden> |
Subject: |
[Phpgroupware-cvs] skel class.base.php,1.1.2.1.2.10,1.1.2.1.2.11 |
Date: |
Sat, 01 Nov 2003 19:10:41 +0000 |
Update of /cvsroot/phpgroupware/skel
In directory subversions:/tmp/cvs-serv29808/skel
Modified Files:
Tag: proposal-branch
class.base.php
Log Message:
started initial part of the solution for letting people view the documentation
Index: class.base.php
===================================================================
RCS file: /cvsroot/phpgroupware/skel/Attic/class.base.php,v
retrieving revision 1.1.2.1.2.10
retrieving revision 1.1.2.1.2.11
diff -C2 -d -r1.1.2.1.2.10 -r1.1.2.1.2.11
*** class.base.php 31 Oct 2003 08:42:33 -0000 1.1.2.1.2.10
--- class.base.php 1 Nov 2003 19:10:38 -0000 1.1.2.1.2.11
***************
*** 26,29 ****
--- 26,35 ----
'abstract'=>'Starting point for the Demo app'
);
+
+ $functions['view_docs'] = array(
+ 'type'=>'public',
+ 'title'=>'Display all documentation.',
+ 'abstract'=>'This will output ALL the documentation avaible.'
+ );
$functions['htmloutputtest'] = array(
***************
*** 76,79 ****
--- 82,89 ----
'op' => 'skel.base.htmloutputtest',
);
+ $appmenu[] = array(
+ 'title' => lang('Display all docs'),
+ 'op' => 'skel.base.view_docs',
+ );
$GLOBALS['phpgw_xml_apinode']->add_node($appmenu,'appmenu');
***************
*** 145,148 ****
--- 155,169 ----
}
+ function view_docs()
+ {
+ $args = new safe_args();
+ $args->set('class', '##NOTSET##', 'any');
+ $args->set('function', '##NOTSET##', 'any');
+ $args = $args->get(func_get_args(),__LINE__,__FILE__);
+ $GLOBALS['phpgw']->load_docs();
+ $GLOBALS['msgbox']->add('Display template is not yet
done.',__LINE__,__FILE__, 'notice');
+ return $GLOBALS['docs'];
+ }
+
function home_hook()
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] skel class.base.php,1.1.2.1.2.10,1.1.2.1.2.11,
Dan Kuykendall <address@hidden> <=