/**
  * [Describe function...]
  *
  * @param	[type]		$mInfos: ...
  * @return	[type]		...
  */
 function _getExtPath($mInfos)
 {
     if (!is_array($mInfos)) {
         // should be object type
         if (isset($this)) {
             $aInfos = $this->_getInfosRenderletForType($mInfos);
         } else {
             $aInfos = tx_ameosformidable::_getInfosForType($mInfos, $GLOBALS["TYPO3_CONF_VARS"]["EXTCONF"]["ameos_formidable"]["renderlets"]);
         }
     } else {
         $aInfos = $mInfos;
     }
     if ($aInfos["BASE"] === TRUE) {
         return PATH_formidable . "api/base/" . $aInfos["EXTKEY"] . "/";
     } else {
         return t3lib_extmgm::extPath($aInfos["EXTKEY"]);
     }
     return $extsrcpath;
 }