コード例 #1
0
?>
]" value="<?php 
echo $value;
?>
" size="20" maxlength="255" />
				</td>
			</tr>
		<?endforeach?>
		
	<?endforeach?>
	<?$tabControl->EndCustomField('NAME', '');?>

	<?$tabControl->BeginNextFormTab();?>
	<?$tabControl->BeginCustomField('EXTERNAL', Loc::getMessage('SALE_LOCATION_E_HEADING_EXTERNAL'));?>

		<?$services = Helper::getExternalServicesList();?>
		<tr>
			<td>

				<?if(empty($services)):?>

					<?php 
echo Loc::getMessage('SALE_LOCATION_E_NO_SERVICES');
?>
 <a href="<?php 
echo ExternalServiceHelper::getListUrl();
?>
" target="blank_"><?php 
echo Loc::getMessage('SALE_LOCATION_E_NO_SERVICES_LIST_PAGE');
?>
</a>
コード例 #2
0
ファイル: class.php プロジェクト: mrdeadmouse/u136006
 /**
  * Here we get some data that can be cached for a long time.
  * @param mixed[] $cachedData Buffer for keeping data that will be put to a cache later
  * @return void
  */
 protected function obtainCachedData(&$cachedData)
 {
     $cachedData['TYPES'] = Helper::getTypeList();
     $cachedData['EXTERNAL_SERVICES'] = Helper::getExternalServicesList();
 }