예제 #1
0
파일: markup.php 프로젝트: neslonso/sf
<form action="<?php 
echo BASE_URL . FILE_APP;
?>
" method="post" enctype="multipart/form-data">
	<input name="MODULE" id="MODULE" type="hidden" value="actions" />
	<input name="acClase" id="acClase" type="hidden" value="composer" />
	<input name="acMetodo" id="acMetodo" type="hidden" value="acGenerateComposerAssetPluginComponentsFiles" />
	<input name="acTipo" id="acTipo" type="hidden" value="stdAssoc" />
	<input name="acReturnURI" id="acReturnURI" type="hidden" value="<?php 
echo $_SERVER["REQUEST_URI"];
?>
" />

	APPs:<br />
<?
$arrLibsApps=\Sintax\Pages\bower::getArrLibsApps(COMPOSER_ASSET_PLUGIN_PATH,'composerAssetPluginComponents.php','appComposerAssetPluginComponents.php');
$arrApps=unserialize(APPS);
$arrApps['GLOBAL']=array('NOMBRE_APP' => 'composerAssetPluginComponents.php');
//echo "<pre>".print_r ($arrLibsApps,true)."</pre>";
?>
	<table border="1">
		<tr>
			<td>Componente</td>
<?
foreach ($arrApps as $entryPoint => $arrAppConstants) {
	$name=$arrAppConstants['NOMBRE_APP'].'<br /> ('.$entryPoint.')';
?>
			<td style="text-align:center;"><?php 
echo $name;
?>
</td>
예제 #2
0
파일: composer.php 프로젝트: neslonso/sf
	public function acGenerateComposerAssetPluginComponentsFiles($args) {
		$arrLibsApps=$args['arrLibsApps'];
		\Sintax\Pages\bower::generateAssetsFiles($arrLibsApps,COMPOSER_ASSET_PLUGIN_PATH,'composerAssetPluginComponents.php','appComposerAssetPluginComponents.php');
	}