Commit 57d5dba0 authored by Polyna-Maude Summerside's avatar Polyna-Maude Summerside Committed by Fabio Montefuscolo

[FIX] Added some variables definition in phpDoc

parent d38fcbe1
Pipeline #48197357 failed with stages
in 27 minutes and 18 seconds
......@@ -8,6 +8,19 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
/***
*
* @var \TikiAccessLib $access
*
* @var \AccountingLib $accountinglib
*
*
* @var \Smarty_Tiki $smarty
*
* Define the current section
* @var string $section
*/
$section = 'accounting';
require_once('tiki-setup.php');
......
......@@ -8,6 +8,21 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
/***
*
* @var \TikiAccessLib $access
*
* @var \AccountingLib $accountinglib
*
*
* @var \Smarty_Tiki $smarty
*
* Define the current section
* @var string $section
*/
$section = 'accounting';
require_once('tiki-setup.php');
......@@ -65,6 +80,10 @@ $journal = $accountinglib->getJournal($bookId, $accountId);
$smarty->assign('journal', $journal);
if (! empty($_REQUEST['action'])) {
/***
* Account Notes
* @var Ambiguous $notes
*/
$notes = !empty($_POST['accountNotes']) ? $_POST['accountNotes'] : '';
switch ($_REQUEST['action']) {
case 'edit':
......
......@@ -8,6 +8,19 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
/***
*
* @var \TikiAccessLib $access
*
* @var \AccountingLib $accountinglib
*
*
* @var \Smarty_Tiki $smarty
*
* Define the current section
* @var string $section
*/
$section = 'accounting';
require_once('tiki-setup.php');
......
......@@ -8,6 +8,18 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
/***
*
* @var \TikiAccessLib $access
*
* @var \AccountingLib $accountinglib
*
*
* @var \Smarty_Tiki $smarty
*
* Define the current section
* @var string $section
*/
$section = 'accounting';
require_once('tiki-setup.php');
......
......@@ -8,6 +8,19 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
/***
*
* @var \TikiAccessLib $access
*
* @var \AccountingLib $accountinglib
*
*
* @var \Smarty_Tiki $smarty
*
* Define the current section
* @var string $section
*/
$section = 'accounting';
require_once('tiki-setup.php');
......
......@@ -8,6 +8,19 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
/***
*
* @var \TikiAccessLib $access
*
* @var \AccountingLib $accountinglib
*
*
* @var \Smarty_Tiki $smarty
*
* Define the current section
* @var string $section
*/
$section = 'accounting';
require_once('tiki-setup.php');
......
......@@ -8,6 +8,19 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
/***
*
* @var \TikiAccessLib $access
*
* @var \AccountingLib $accountinglib
*
*
* @var \Smarty_Tiki $smarty
*
* Define the current section
* @var string $section
*/
$section = 'accounting';
require_once('tiki-setup.php');
......
......@@ -8,6 +8,15 @@
// Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details.
// $Id$
/***
* @var \TikiAccessLib $access
* @var \HeaderLib $headerlib
* @var \Smarty_Tiki $smarty
* @var \TikiCalendarLib $tikicalendarlib
* @var \TikiLib $tikilib
* @var array $tc_infos
*/
include 'tiki-setup.php';
$tikicalendarlib = TikiLib::lib('tikicalendar');
$access->check_feature('feature_action_calendar');
......
......@@ -10,6 +10,12 @@
require_once('tiki-setup.php');
/***
* @var \TikiAccessLib $access
* @var \Smarty_Tiki $smarty
*
*/
$access->check_feature('wiki_keywords');
$access->check_permission('tiki_p_admin_wiki');
......@@ -29,6 +35,10 @@ function set_keywords($page, $keywords = "")
$result = $tikilib->query($query, $bindvars);
if ($result && $result->numRows()) {
/***
*
* @var \UnifiedSearchLib $searchlib
*/
$searchlib = TikiLib::lib('unifiedsearch');
$searchlib->invalidateObject('wiki page', $page);
$searchlib->processUpdateQueue();
......
......@@ -9,6 +9,15 @@
// $Id$
//this script may only be included - so its better to die if called directly.
/***
* @var int $trunc
* @var \Smarty_Tiki $smarty
* @var \TikiLib $tikilib
*
*
*/
if (strpos($_SERVER['SCRIPT_NAME'], basename(__FILE__)) != false) {
header('location: index.php');
exit;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment