From 0ec0bc7654b758db607ddb018849d1ef484ed15b Mon Sep 17 00:00:00 2001 From: zhangweiwu Date: Tue, 11 Oct 2005 02:00:23 +0000 Subject: [PATCH] add a bit of phpdoc explanation. --- phpgwapi/inc/class.common.inc.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/phpgwapi/inc/class.common.inc.php b/phpgwapi/inc/class.common.inc.php index 258ab7ac37..627d70a066 100644 --- a/phpgwapi/inc/class.common.inc.php +++ b/phpgwapi/inc/class.common.inc.php @@ -543,9 +543,15 @@ /*! @function create_tabs @abstract create tabs - @param $tabs ? - @param $selected ? + @param array $tabs an array repersenting the tabs you wish to display, each element + in the array is an array of 3 elements, 'label' which is the + text displaed on the tab (you should pass translated string, + create_tabs will not do lang() for you), 'link' + which is the uri, 'target', the frame name or '_blank' to show + page in a new browser window. + @param mixed $selected the tab whos key is $selected will be displayed as current tab @param $fontsize optional + @return string return html that displays the tabs */ function create_tabs($tabs, $selected, $fontsize = '') {