@@ -200,7 +200,7 @@ discard block |
||
200 | 200 | * default 0 => export whole series (or events, if not recurring) |
201 | 201 | * @param string $principalURL ='' Used for CalDAV exports |
202 | 202 | * @param string $charset ='UTF-8' encoding of the vcalendar, default UTF-8 |
203 | - * @param int|string $current_user =0 uid of current user to only export that one as participant for method=REPLY |
|
203 | + * @param integer $current_user =0 uid of current user to only export that one as participant for method=REPLY |
|
204 | 204 | * @return string|boolean string with iCal or false on error (e.g. no permission to read the event) |
205 | 205 | */ |
206 | 206 | function &exportVCal($events, $version='1.0', $method='PUBLISH', $recur_date=0, $principalURL='', $charset='UTF-8', $current_user=0) |
@@ -1119,16 +1119,14 @@ discard block |
||
1119 | 1119 | * Import an iCal |
1120 | 1120 | * |
1121 | 1121 | * @param string|resource $_vcalData |
1122 | - * @param int $cal_id=-1 must be -1 for new entries! |
|
1123 | - * @param string $etag=null if an etag is given, it has to match the current etag or the import will fail |
|
1124 | - * @param boolean $merge=false merge data with existing entry |
|
1125 | - * @param int $recur_date=0 if set, import the recurrence at this timestamp, |
|
1122 | + * @param int $cal_id must be -1 for new entries! |
|
1123 | + * @param int $recur_date if set, import the recurrence at this timestamp, |
|
1126 | 1124 | * default 0 => import whole series (or events, if not recurring) |
1127 | 1125 | * @param string $principalURL='' Used for CalDAV imports |
1128 | - * @param int $user=null account_id of owner, default null |
|
1129 | 1126 | * @param string $charset The encoding charset for $text. Defaults to |
1130 | 1127 | * utf-8 for new format, iso-8859-1 for old format. |
1131 | - * @param string $caldav_name=null name from CalDAV client or null (to use default) |
|
1128 | + * @param string $caldav_name name from CalDAV client or null (to use default) |
|
1129 | + * @param integer $etag |
|
1132 | 1130 | * @return int|boolean|null cal_id > 0 on success, false on failure or 0 for a failed etag|permission denied or null for "403 Forbidden" |
1133 | 1131 | */ |
1134 | 1132 | function importVCal($_vcalData, $cal_id=-1, $etag=null, $merge=false, $recur_date=0, $principalURL='', $user=null, $charset=null, $caldav_name=null,$skip_notification=false) |
@@ -3265,6 +3263,10 @@ discard block |
||
3265 | 3263 | return $event; |
3266 | 3264 | } |
3267 | 3265 | |
3266 | + /** |
|
3267 | + * @param integer $contentID |
|
3268 | + * @param string $charset |
|
3269 | + */ |
|
3268 | 3270 | function search($_vcalData, $contentID=null, $relax=false, $charset=null) |
3269 | 3271 | { |
3270 | 3272 | if (($events = $this->icaltoegw($_vcalData, $charset))) |
@@ -3325,6 +3327,7 @@ discard block |
||
3325 | 3327 | * @param string $method ='PUBLISH' or eg. 'REPLY' |
3326 | 3328 | * @param array $extra =null extra attributes to add |
3327 | 3329 | * X-CALENDARSERVER-MASK-UID can be used to not include an event specified by this uid as busy |
3330 | + * @return string|null |
|
3328 | 3331 | */ |
3329 | 3332 | function freebusy($user,$end=null,$utc=true, $charset='UTF-8', $start=null, $method='PUBLISH', array $extra=null) |
3330 | 3333 | { |
@@ -79,7 +79,7 @@ discard block |
||
79 | 79 | /** |
80 | 80 | * Constructor |
81 | 81 | * |
82 | - * @param int $user=null account_id of user to use for Acl, default current user |
|
82 | + * @param integer $user |
|
83 | 83 | */ |
84 | 84 | function __construct($user=null) |
85 | 85 | { |
@@ -681,7 +681,7 @@ discard block |
||
681 | 681 | /** |
682 | 682 | * @author Cornelius Weiss <[email protected]> |
683 | 683 | * query infolog for entries matching $pattern |
684 | - * @param string|array $pattern if it's a string it is the string we will search for as a criteria, if it's an array we |
|
684 | + * @param string $pattern if it's a string it is the string we will search for as a criteria, if it's an array we |
|
685 | 685 | * will seach for 'search' key in this array to get the string criteria. others keys handled are actually used |
686 | 686 | * for calendar disponibility. |
687 | 687 | * @param array $options Array of options for the search |
@@ -895,7 +895,7 @@ discard block |
||
895 | 895 | * Cornelius Weiss <[email protected]> |
896 | 896 | * @param array $file array with key => value |
897 | 897 | * @param int $resource_id |
898 | - * @return mixed string with msg if somthing went wrong; nothing if all right |
|
898 | + * @return string|null string with msg if somthing went wrong; nothing if all right |
|
899 | 899 | */ |
900 | 900 | function save_picture($file,$resource_id) |
901 | 901 | { |
@@ -102,8 +102,7 @@ discard block |
||
102 | 102 | /** |
103 | 103 | * imports entries according to given definition object. |
104 | 104 | * @param resource $_stream |
105 | - * @param string $_charset |
|
106 | - * @param definition $_definition |
|
105 | + * @param importexport_definition $_definition |
|
107 | 106 | */ |
108 | 107 | public function import( $_stream, importexport_definition $_definition ) { |
109 | 108 | |
@@ -178,7 +177,6 @@ discard block |
||
178 | 177 | /** |
179 | 178 | * Add a warning message about conflicting events |
180 | 179 | * |
181 | - * @param int $record_num Current record index |
|
182 | 180 | * @param Array $conflicts List of found conflicting events |
183 | 181 | */ |
184 | 182 | public function conflict_warning(&$event, &$conflicts) |
@@ -201,6 +199,7 @@ discard block |
||
201 | 199 | * |
202 | 200 | * @param string $owner |
203 | 201 | * @param array|string $timespan |
202 | + * @param integer $skip_notification |
|
204 | 203 | */ |
205 | 204 | protected function purge_calendar($owner, $timespan, $skip_notification) |
206 | 205 | { |
@@ -174,7 +174,7 @@ discard block |
||
174 | 174 | * dir working on just the eGW VFS: returns directory object |
175 | 175 | * |
176 | 176 | * @param string $path filename with absolute path in the eGW VFS |
177 | - * @return Directory |
|
177 | + * @return \Directory |
|
178 | 178 | */ |
179 | 179 | static function dir($path) |
180 | 180 | { |
@@ -1351,7 +1351,7 @@ discard block |
||
1351 | 1351 | * Also works around PHP under Windows returning dirname('/something') === '\\', which is NOT understood by EGroupware's VFS! |
1352 | 1352 | * |
1353 | 1353 | * @param string $_url path or url |
1354 | - * @return string|boolean parent or false if there's none ($path == '/') |
|
1354 | + * @return false|string parent or false if there's none ($path == '/') |
|
1355 | 1355 | */ |
1356 | 1356 | static function dirname($_url) |
1357 | 1357 | { |
@@ -1780,7 +1780,7 @@ discard block |
||
1780 | 1780 | * checkLock() helper |
1781 | 1781 | * |
1782 | 1782 | * @param string resource path to check for locks |
1783 | - * @return array|boolean false if there's no lock, else array with lock info |
|
1783 | + * @return string|null false if there's no lock, else array with lock info |
|
1784 | 1784 | */ |
1785 | 1785 | static function checkLock($path) |
1786 | 1786 | { |
@@ -2063,6 +2063,7 @@ discard block |
||
2063 | 2063 | |
2064 | 2064 | /** |
2065 | 2065 | * Moves the files given in src to dst |
2066 | + * @param string|boolean $dst |
|
2066 | 2067 | */ |
2067 | 2068 | static public function move_files(array $src, $dst, &$errs, array &$moved) |
2068 | 2069 | { |
@@ -2253,7 +2254,6 @@ discard block |
||
2253 | 2254 | * In order for the appropriate error message to be returned, do not define this method if your wrapper does not support removing directories. |
2254 | 2255 | * |
2255 | 2256 | * @param string $path |
2256 | - * @param int $options Possible values include STREAM_REPORT_ERRORS. |
|
2257 | 2257 | * @return boolean TRUE on success or FALSE on failure. |
2258 | 2258 | */ |
2259 | 2259 | static function rmdir($path) |
@@ -504,7 +504,7 @@ discard block |
||
504 | 504 | * |
505 | 505 | * If you have cached data in your stream but not yet stored it into the underlying storage, you should do so now. |
506 | 506 | * |
507 | - * @return booelan TRUE if the cached data was successfully stored (or if there was no data to store), or FALSE if the data could not be stored. |
|
507 | + * @return boolean TRUE if the cached data was successfully stored (or if there was no data to store), or FALSE if the data could not be stored. |
|
508 | 508 | */ |
509 | 509 | function stream_flush ( ) |
510 | 510 | { |
@@ -673,6 +673,8 @@ discard block |
||
673 | 673 | |
674 | 674 | /** |
675 | 675 | * due to problems with recursive directory creation, we have our own here |
676 | + * @param false|string $pathname |
|
677 | + * @param integer $mode |
|
676 | 678 | */ |
677 | 679 | protected static function mkdir_recursive($pathname, $mode, $depth=0) |
678 | 680 | { |
@@ -1058,7 +1060,7 @@ discard block |
||
1058 | 1060 | * |
1059 | 1061 | * @param string $url URL that was passed to opendir() and that this object is expected to explore. |
1060 | 1062 | * @param int $options |
1061 | - * @return booelan |
|
1063 | + * @return boolean |
|
1062 | 1064 | */ |
1063 | 1065 | function dir_opendir ( $url, $options ) |
1064 | 1066 | { |
@@ -1458,7 +1460,7 @@ discard block |
||
1458 | 1460 | * |
1459 | 1461 | * @param string $path string with path |
1460 | 1462 | * @param int $rights =null rights to set, or null to delete the entry |
1461 | - * @param int|boolean $owner =null owner for whom to set the rights, null for the current user, or false to delete all rights for $path |
|
1463 | + * @param boolean $owner =null owner for whom to set the rights, null for the current user, or false to delete all rights for $path |
|
1462 | 1464 | * @param int $fs_id =null fs_id to use, to not query it again (eg. because it's already deleted) |
1463 | 1465 | * @return boolean true if acl is set/deleted, false on error |
1464 | 1466 | */ |
@@ -1782,6 +1784,7 @@ discard block |
||
1782 | 1784 | * Replace the password of an url with '...' for error messages |
1783 | 1785 | * |
1784 | 1786 | * @param string &$url |
1787 | + * @param string $url |
|
1785 | 1788 | */ |
1786 | 1789 | static protected function _remove_password(&$url) |
1787 | 1790 | { |
@@ -1797,7 +1800,7 @@ discard block |
||
1797 | 1800 | /** |
1798 | 1801 | * Get storage mode from url (get parameter 'storage', eg. ?storage=db) |
1799 | 1802 | * |
1800 | - * @param string|array $url complete url or array of url-parts from parse_url |
|
1803 | + * @param string $url complete url or array of url-parts from parse_url |
|
1801 | 1804 | * @return int self::STORE2FS or self::STORE2DB |
1802 | 1805 | */ |
1803 | 1806 | static function url2operation($url) |
@@ -314,7 +314,7 @@ discard block |
||
314 | 314 | * |
315 | 315 | * @param string $path |
316 | 316 | * |
317 | - * @return array of paths |
|
317 | + * @return string[] of paths |
|
318 | 318 | */ |
319 | 319 | protected function addFiles($path, $content = false) |
320 | 320 | { |
@@ -413,6 +413,7 @@ discard block |
||
413 | 413 | * Test that a share link can be made, and that only that path is available |
414 | 414 | * |
415 | 415 | * @param string $path |
416 | + * @param string $mode |
|
416 | 417 | */ |
417 | 418 | public function shareLink($path, $mode, $extra = array()) |
418 | 419 | { |
@@ -473,7 +474,7 @@ discard block |
||
473 | 474 | * Test to make sure that a directory link leads to a limited filemanager |
474 | 475 | * interface (not a file or 404). |
475 | 476 | * |
476 | - * @param type $link |
|
477 | + * @param string $link |
|
477 | 478 | * @param type $share |
478 | 479 | */ |
479 | 480 | public function checkDirectoryLink($link, $share) |
@@ -455,7 +455,7 @@ discard block |
||
455 | 455 | * forceEAProfileLoad |
456 | 456 | * used to force the load of a specific emailadmin profile; we assume administrative use only (as of now) |
457 | 457 | * @param int $_profile_id |
458 | - * @return object instance of Mail (by reference) |
|
458 | + * @return Mail instance of Mail (by reference) |
|
459 | 459 | */ |
460 | 460 | public static function &forceEAProfileLoad($_profile_id) |
461 | 461 | { |
@@ -753,7 +753,7 @@ discard block |
||
753 | 753 | /** |
754 | 754 | * Get all identities of given mailaccount |
755 | 755 | * |
756 | - * @param int|Mail\Account $account account-object or acc_id |
|
756 | + * @param integer $account account-object or acc_id |
|
757 | 757 | * @return array - array(email=>realname) |
758 | 758 | */ |
759 | 759 | function getAccountIdentities($account) |
@@ -1409,7 +1409,7 @@ discard block |
||
1409 | 1409 | * @param array $_filter filter to apply to getSortedList |
1410 | 1410 | * @param mixed $_thisUIDOnly = null, if given fetch the headers of this uid only (either one, or array of uids) |
1411 | 1411 | * @param boolean $_cacheResult = true try touse the cache of getSortedList |
1412 | - * @param mixed $_fetchPreviews = false (boolean/int) fetch part of the body of the messages requested (if integer the number is assumed to be the number of chars to be returned for preview; if set to true 300 chars are returned (when available)) |
|
1412 | + * @param boolean $_fetchPreviews = false (boolean/int) fetch part of the body of the messages requested (if integer the number is assumed to be the number of chars to be returned for preview; if set to true 300 chars are returned (when available)) |
|
1413 | 1413 | * @return array result as array(header=>array,total=>int,first=>int,last=>int) |
1414 | 1414 | */ |
1415 | 1415 | function getHeaders($_folderName, $_startMessage, $_numberOfMessages, $_sort, $_reverse, $_filter, $_thisUIDOnly=null, $_cacheResult=true, $_fetchPreviews=false) |
@@ -2015,6 +2015,7 @@ discard block |
||
2015 | 2015 | * |
2016 | 2016 | * @param mixed _sort the integer sort order / or a valid and handeled SORTSTRING (right now: UID/ARRIVAL/INTERNALDATE (->ARRIVAL)) |
2017 | 2017 | * @param bool _reverse wether to add REVERSE to the Sort String or not |
2018 | + * @param integer $_sort |
|
2018 | 2019 | * @return the sort sequence for horde search |
2019 | 2020 | */ |
2020 | 2021 | function _getSortString($_sort, $_reverse=false) |
@@ -3402,7 +3403,7 @@ discard block |
||
3402 | 3403 | * @param string $_mailbox |
3403 | 3404 | * @param string $delimiter |
3404 | 3405 | * @param string $prefix |
3405 | - * @param string $reclevel 0, counter to keep track of the current recursionlevel |
|
3406 | + * @param integer $reclevel 0, counter to keep track of the current recursionlevel |
|
3406 | 3407 | * @return array of mailboxes |
3407 | 3408 | */ |
3408 | 3409 | function getMailBoxesRecursive($_mailbox, $delimiter, $prefix, $reclevel=0) |
@@ -3452,7 +3453,7 @@ discard block |
||
3452 | 3453 | * abstraction layer for getDraftFolder, getTemplateFolder, getTrashFolder and getSentFolder |
3453 | 3454 | * @param string $_type the type to fetch (Drafts|Template|Trash|Sent) |
3454 | 3455 | * @param boolean $_checkexistance trigger check for existance |
3455 | - * @param boolean& $created =null on return true: if folder was just created, false if not |
|
3456 | + * @param boolean $created =null on return true: if folder was just created, false if not |
|
3456 | 3457 | * @return mixed string or false |
3457 | 3458 | */ |
3458 | 3459 | function _getSpecialUseFolder($_type, $_checkexistance=TRUE, &$created=null) |
@@ -3584,7 +3585,7 @@ discard block |
||
3584 | 3585 | /** |
3585 | 3586 | * getTemplateFolder wrapper for _getSpecialUseFolder Type Template |
3586 | 3587 | * @param boolean $_checkexistance trigger check for existance |
3587 | - * @return mixed string or false |
|
3588 | + * @return string string or false |
|
3588 | 3589 | */ |
3589 | 3590 | function getTemplateFolder($_checkexistance=TRUE) |
3590 | 3591 | { |
@@ -3614,7 +3615,7 @@ discard block |
||
3614 | 3615 | /** |
3615 | 3616 | * getOutboxFolder wrapper for _getSpecialUseFolder Type Outbox |
3616 | 3617 | * @param boolean $_checkexistance trigger check for existance |
3617 | - * @return mixed string or false |
|
3618 | + * @return string string or false |
|
3618 | 3619 | */ |
3619 | 3620 | function getOutboxFolder($_checkexistance=TRUE) |
3620 | 3621 | { |
@@ -4506,7 +4507,7 @@ discard block |
||
4506 | 4507 | /** |
4507 | 4508 | * get part of the message, if its stucture is indicating its of multipart alternative style |
4508 | 4509 | * a wrapper for multipartmixed |
4509 | - * @param string/int $_uid the messageuid, |
|
4510 | + * @param integer $_uid the messageuid, |
|
4510 | 4511 | * @param Horde_Mime_Part $_structure structure for parsing |
4511 | 4512 | * @param string $_htmlMode how to display a message, html, plain text, ... |
4512 | 4513 | * @param boolean $_preserveSeen flag to preserve the seenflag by using body.peek |
@@ -5167,6 +5168,9 @@ discard block |
||
5167 | 5168 | return $message; |
5168 | 5169 | } |
5169 | 5170 | |
5171 | + /** |
|
5172 | + * @param integer $cols |
|
5173 | + */ |
|
5170 | 5174 | static function wordwrap($str, $cols, $cut, $dontbreaklinesstartingwith=false) |
5171 | 5175 | { |
5172 | 5176 | $lines = explode("\n", $str); |
@@ -5619,7 +5623,6 @@ discard block |
||
5619 | 5623 | * @param string $_partID = null |
5620 | 5624 | * @param string $_folder = null |
5621 | 5625 | * @param boolean $_preserveSeen = false flag to preserve the seenflag by using body.peek |
5622 | - * @param Horde_Imap_Client_Fetch_Query $fquery=null default query just structure |
|
5623 | 5626 | * @return Horde_Mime_Part |
5624 | 5627 | */ |
5625 | 5628 | function getStructure($_uid, $_partID=null, $_folder=null, $_preserveSeen=false) |
@@ -6163,6 +6166,7 @@ discard block |
||
6163 | 6166 | * @param string|resource _header header part of message or resource with hole message |
6164 | 6167 | * @param string _body body part of message, only used if _header is NO resource |
6165 | 6168 | * @param string _flags = '\\Recent'the imap flags to set for the saved message |
6169 | + * @param string|null $_body |
|
6166 | 6170 | * |
6167 | 6171 | * @return the id of the message appended or exception |
6168 | 6172 | * @throws Exception\WrongUserinput |
@@ -6241,6 +6245,7 @@ discard block |
||
6241 | 6245 | * @param preserveHTML flag to pass through to getdisplayableBody, null for both text and HTML |
6242 | 6246 | * @param addHeaderSection flag to be able to supress headersection |
6243 | 6247 | * @param includeAttachments flag to be able to supress possible attachments |
6248 | + * @param Mail $mailClass |
|
6244 | 6249 | * @return array/bool with 'mailaddress'=>$mailaddress, |
6245 | 6250 | * 'subject'=>$subject, |
6246 | 6251 | * 'message'=>$message, |
@@ -6443,7 +6448,7 @@ discard block |
||
6443 | 6448 | * We also dont want empty filenames, using lang('empty') instead. |
6444 | 6449 | * |
6445 | 6450 | * @param string $filename |
6446 | - * @return Cleaned filename, with problematic characters replaced with ' '. |
|
6451 | + * @return string filename, with problematic characters replaced with ' '. |
|
6447 | 6452 | */ |
6448 | 6453 | static function clean_subject_for_filename($filename) |
6449 | 6454 | { |
@@ -6740,7 +6745,7 @@ discard block |
||
6740 | 6745 | * |
6741 | 6746 | * @param Mailer $_mailObject instance of the Mailer Object to be used |
6742 | 6747 | * @param string $_html2parse the html to parse and to be altered, if conditions meet |
6743 | - * @param $mail_bo mail bo object |
|
6748 | + * @param Mail|null $mail_bo mail bo object |
|
6744 | 6749 | * @return array|null return inline images stored as tmp file in vfs as array of attachments otherwise null |
6745 | 6750 | */ |
6746 | 6751 | static function processURL2InlineImages(Mailer $_mailObject, &$_html2parse, $mail_bo) |
@@ -6863,7 +6868,7 @@ discard block |
||
6863 | 6868 | * @param Storage\Merge Storage\Merge bo_merge object |
6864 | 6869 | * @param string $document the full filename |
6865 | 6870 | * @param array $SendAndMergeTocontacts array of contact ids |
6866 | - * @param string& $_folder (passed by reference) will set the folder used. must be set with a folder, but will hold modifications if |
|
6871 | + * @param string|null $_folder (passed by reference) will set the folder used. must be set with a folder, but will hold modifications if |
|
6867 | 6872 | * folder is modified |
6868 | 6873 | * @param string& $importID ID for the imported message, used by attachments to identify them unambiguously |
6869 | 6874 | * @return mixed array of messages with success and failed messages or exception |
@@ -7113,7 +7118,7 @@ discard block |
||
7113 | 7118 | /** |
7114 | 7119 | * Parses a message/rfc mail from file to the mailobject |
7115 | 7120 | * |
7116 | - * @param object $mailer instance of the SMTP Mailer Object |
|
7121 | + * @param Mailer $mailer instance of the SMTP Mailer Object |
|
7117 | 7122 | * @param string $tmpFileName string that points/leads to the file to be imported |
7118 | 7123 | * @throws Exception\NotFound if $fle is not found |
7119 | 7124 | */ |
@@ -44,9 +44,7 @@ |
||
44 | 44 | |
45 | 45 | /** |
46 | 46 | * imports entries according to given definition object. |
47 | - * @param resource $_stream |
|
48 | - * @param string $_charset |
|
49 | - * @param definition $_definition |
|
47 | + * @param importexport_definition $_definition |
|
50 | 48 | */ |
51 | 49 | public function init(importexport_definition &$_definition ) { |
52 | 50 |
@@ -78,6 +78,7 @@ discard block |
||
78 | 78 | * Constructor |
79 | 79 | * |
80 | 80 | * The constructor instanciates the class in $GLOBALS['egw']->framework, from where it should be used |
81 | + * @param string $template |
|
81 | 82 | */ |
82 | 83 | function __construct($template) |
83 | 84 | { |
@@ -576,8 +577,9 @@ discard block |
||
576 | 577 | /** |
577 | 578 | * Get login logo or background image base on requested config type |
578 | 579 | * |
579 | - * @param type $type config type to fetch. e.g.: "login_logo_file" |
|
580 | - * @param type $find_type type of image to search on as alternative option. e.g.: "logo" |
|
580 | + * @param string $type config type to fetch. e.g.: "login_logo_file" |
|
581 | + * @param type string type of image to search on as alternative option. e.g.: "logo" |
|
582 | + * @param string $find_type |
|
581 | 583 | * |
582 | 584 | * @return string returns full url of the image |
583 | 585 | */ |
@@ -601,7 +603,7 @@ discard block |
||
601 | 603 | /** |
602 | 604 | * Returns Html with user and time |
603 | 605 | * |
604 | - * @return void |
|
606 | + * @return string |
|
605 | 607 | */ |
606 | 608 | protected static function _user_time_info() |
607 | 609 | { |
@@ -1032,7 +1034,6 @@ discard block |
||
1032 | 1034 | * |
1033 | 1035 | * Themes are css file in the template directory |
1034 | 1036 | * |
1035 | - * @param string $themes_dir ='css' |
|
1036 | 1037 | */ |
1037 | 1038 | function list_themes() |
1038 | 1039 | { |
@@ -1199,11 +1200,6 @@ discard block |
||
1199 | 1200 | /** |
1200 | 1201 | * Add menu items to the topmenu template class to be displayed |
1201 | 1202 | * |
1202 | - * @param array $app application data |
|
1203 | - * @param mixed $alt_label string with alternative menu item label default value = null |
|
1204 | - * @param string $urlextra string with alternate additional code inside <a>-tag |
|
1205 | - * @access protected |
|
1206 | - * @return void |
|
1207 | 1203 | */ |
1208 | 1204 | abstract function _add_topmenu_item(array $app_data,$alt_label=null); |
1209 | 1205 | |
@@ -1460,7 +1456,7 @@ discard block |
||
1460 | 1456 | * @param string $action "add" or "delete" |
1461 | 1457 | * @param boolean|int|string $group ID of the group to create the favorite for, or 'all' for all users |
1462 | 1458 | * @param array $filters =array() key => value pairs for the filter |
1463 | - * @return boolean Success |
|
1459 | + * @return boolean|null Success |
|
1464 | 1460 | */ |
1465 | 1461 | public static function ajax_set_favorite($app, $name, $action, $group, $filters = array()) |
1466 | 1462 | { |