Revision ef37f43f core/modules/modMyModule.class.php

b/core/modules/modMyModule.class.php
43 43
{
44 44
	// @codingStandardsIgnoreEnd
45 45
	/**
46
	 * 	Constructor. Define names, constants, directories, boxes, permissions
46
	 * Constructor. Define names, constants, directories, boxes, permissions
47 47
	 *
48
	 * 	@param	\DoliDB		$db	Database handler
48
	 * @param DoliDB $db Database handler
49 49
	 */
50 50
	public function __construct($db)
51 51
	{
......
519 519
	 * (defined in constructor) into Dolibarr database.
520 520
	 * It also creates data directories
521 521
	 *
522
	 * 	@param		string	$options	Options when enabling module ('', 'noboxes')
523
	 * 	@return		int					1 if OK, 0 if KO
522
	 * @param string $options Options when enabling module ('', 'noboxes')
523
	 * @return int 1 if OK, 0 if KO
524 524
	 */
525 525
	public function init($options = '')
526 526
	{
......
537 537
	 * and create data commands must be stored in directory /mymodule/sql/
538 538
	 * This function is called by this->init
539 539
	 *
540
	 * 	@return		int		<=0 if KO, >0 if OK
540
	 * @return int <=0 if KO, >0 if OK
541 541
	 */
542 542
	private function loadTables()
543 543
	{
......
549 549
	 * Remove from database constants, boxes and permissions from Dolibarr database.
550 550
	 * Data directories are not deleted
551 551
	 *
552
	 * 	@param		string	$options	Options when enabling module ('', 'noboxes')
553
	 * 	@return		int					1 if OK, 0 if KO
552
	 * @param string $options Options when enabling module ('', 'noboxes')
553
	 * @return int 1 if OK, 0 if KO
554 554
	 */
555 555
	public function remove($options = '')
556 556
	{

Also available in: Unified diff