コード例 #1
0
ファイル: Zyon.conf.php プロジェクト: null-1/fangtaitong
/**
 * getSysIdTypeNameByCode
 * 
 * @param mixed $code
 * @return mixed
 */
function getSysIdTypeNameByCode($code)
{
    $types = getSysIdTypes();
    return isset($types[$code]) ? $types[$code] : null;
}
コード例 #2
0
ファイル: Mber.php プロジェクト: null-1/fangtaitong
 /**
  * _prepare
  * 
  * @return void
  */
 protected function _prepare()
 {
     if (empty(static::$_idtypes)) {
         static::$_idtypes = getSysIdTypes();
     }
 }