当前位置: 首页>>代码示例>>PHP>>正文


PHP getListOfModels函数代码示例

本文整理汇总了PHP中getListOfModels函数的典型用法代码示例。如果您正苦于以下问题:PHP getListOfModels函数的具体用法?PHP getListOfModels怎么用?PHP getListOfModels使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了getListOfModels函数的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: liste_modeles

 /**
  *	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;
 }
开发者ID:Samara94,项目名称:dolibarr,代码行数:16,代码来源:modules_contract.php

示例2: liste_modeles

 /**
  *      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;
 }
开发者ID:netors,项目名称:dolibarr,代码行数:13,代码来源:modules_propale.php

示例3: liste_modeles

 /**
  *  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;
 }
开发者ID:LionSystemsSolutions,项目名称:El-Canelo-ERP,代码行数:18,代码来源:modules_chequereceipts.php

示例4: liste_modeles

	/**
	 *      \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;
	}
开发者ID:remyyounes,项目名称:dolibarr,代码行数:16,代码来源:modules_facturefournisseur.php

示例5: liste_modeles

	/**
	 *      \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;
	}
开发者ID:remyyounes,项目名称:dolibarr,代码行数:18,代码来源:modules_chequereceipts.php


注:本文中的getListOfModels函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。