/** * Return list of active generation modules * * @param DoliDB $db Database handler * @param integer $maxfilenamelength Max length of value to show * @return array List of templates */ static function liste_modeles($db, $maxfilenamelength = 0) { global $conf; $type = 'contract'; $liste = array(); include_once DOL_DOCUMENT_ROOT . '/core/lib/functions2.lib.php'; $liste = getListOfModels($db, $type, $maxfilenamelength); return $liste; }
/** * Return list of active generation modules * @param $db Database handler */ function liste_modeles($db) { global $conf; $type = 'propal'; $liste = array(); include_once DOL_DOCUMENT_ROOT . '/lib/functions2.lib.php'; $liste = getListOfModels($db, $type, ''); return $liste; }
/** * Return list of active generation modules * * @param DoliDB $db Database handler * @param string $maxfilenamelength Max length of value to show * @return array List of templates */ static function liste_modeles($db, $maxfilenamelength = 0) { global $conf; $type = 'chequereceipt'; $liste = array(); include_once DOL_DOCUMENT_ROOT . '/core/lib/functions2.lib.php'; $liste = getListOfModels($db, $type, $maxfilenamelength); // TODO Remove this to use getListOfModels only $liste = array('blochet' => 'blochet'); return $liste; }
/** * \brief Return list of active generation modules * \param $db Database handler */ function liste_modeles($db) { global $conf; $type='invoice_supplier'; $liste=array(); include_once(DOL_DOCUMENT_ROOT.'/lib/functions2.lib.php'); $liste=getListOfModels($db,$type,''); return $liste; }
/** * \brief Return list of active generation modules * \param $db Database handler */ function liste_modeles($db) { global $conf; $type='chequereceipt'; $liste=array(); include_once(DOL_DOCUMENT_ROOT.'/lib/functions2.lib.php'); $liste=getListOfModels($db,$type,''); // TODO Remove this to use getListOfModels only $liste = array('blochet'=>'blochet'); return $liste; }