commit
bae1ff67a4
@ -1,5 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
/* Copyright (C) 2004-2017 Laurent Destailleur <eldy@users.sourceforge.net>
|
/* Copyright (C) 2004-2017 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
|
* Copyright (C) 2018 Frédéric France <frederic.france@netlogic.fr>
|
||||||
* Copyright (C) ---Put here your own copyright and developer email---
|
* Copyright (C) ---Put here your own copyright and developer email---
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
@ -196,11 +197,12 @@ class mymodulewidget1 extends ModeleBoxes
|
|||||||
/**
|
/**
|
||||||
* Method to show box. Called by Dolibarr eatch time it wants to display the box.
|
* Method to show box. Called by Dolibarr eatch time it wants to display the box.
|
||||||
*
|
*
|
||||||
* @param array $head Array with properties of box title
|
* @param array $head Array with properties of box title
|
||||||
* @param array $contents Array with properties of box lines
|
* @param array $contents Array with properties of box lines
|
||||||
|
* @param int $nooutput No print, only return string
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function showBox($head = null, $contents = null)
|
public function showBox($head = null, $contents = null, $nooutput = 0)
|
||||||
{
|
{
|
||||||
// You may make your own code here…
|
// You may make your own code here…
|
||||||
// … or use the parent's class function using the provided head and contents templates
|
// … or use the parent's class function using the provided head and contents templates
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user