예제 #1
0
/**
 * 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();
     }
 }