mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-07 10:08:27 +01:00
wip
This commit is contained in:
@@ -40,7 +40,7 @@ require_once DOL_DOCUMENT_ROOT.'/core/class/discount.class.php';
|
||||
abstract class ModelePDFCommandes extends CommonDocGenerator
|
||||
{
|
||||
|
||||
// phpcs:disable PEAR.NamingConventions.ValidFunctionName.NotCamelCaps
|
||||
// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
|
||||
/**
|
||||
* Return list of active generation modules
|
||||
*
|
||||
@@ -48,7 +48,7 @@ abstract class ModelePDFCommandes extends CommonDocGenerator
|
||||
* @param integer $maxfilenamelength Max length of value to show
|
||||
* @return array List of templates
|
||||
*/
|
||||
static function liste_modeles($db, $maxfilenamelength = 0)
|
||||
public static function liste_modeles($db, $maxfilenamelength = 0)
|
||||
{
|
||||
// phpcs:enable
|
||||
global $conf;
|
||||
@@ -82,7 +82,7 @@ abstract class ModeleNumRefCommandes
|
||||
*
|
||||
* @return boolean true if module can be used
|
||||
*/
|
||||
function isEnabled()
|
||||
public function isEnabled()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
@@ -92,7 +92,7 @@ abstract class ModeleNumRefCommandes
|
||||
*
|
||||
* @return string Texte descripif
|
||||
*/
|
||||
function info()
|
||||
public function info()
|
||||
{
|
||||
global $langs;
|
||||
$langs->load("orders");
|
||||
@@ -104,7 +104,7 @@ abstract class ModeleNumRefCommandes
|
||||
*
|
||||
* @return string Example
|
||||
*/
|
||||
function getExample()
|
||||
public function getExample()
|
||||
{
|
||||
global $langs;
|
||||
$langs->load("orders");
|
||||
@@ -116,7 +116,7 @@ abstract class ModeleNumRefCommandes
|
||||
*
|
||||
* @return boolean false si conflit, true si ok
|
||||
*/
|
||||
function canBeActivated()
|
||||
public function canBeActivated()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
@@ -128,7 +128,7 @@ abstract class ModeleNumRefCommandes
|
||||
* @param Object $object Object we need next value for
|
||||
* @return string Valeur
|
||||
*/
|
||||
function getNextValue($objsoc, $object)
|
||||
public function getNextValue($objsoc, $object)
|
||||
{
|
||||
global $langs;
|
||||
return $langs->trans("NotAvailable");
|
||||
@@ -139,7 +139,7 @@ abstract class ModeleNumRefCommandes
|
||||
*
|
||||
* @return string Valeur
|
||||
*/
|
||||
function getVersion()
|
||||
public function getVersion()
|
||||
{
|
||||
global $langs;
|
||||
$langs->load("admin");
|
||||
|
||||
Reference in New Issue
Block a user