mirror of
				https://github.com/smarty-php/smarty.git
				synced 2025-10-30 20:01:37 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			46 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			46 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
| <?xml version="1.0" encoding="iso-8859-1"?>
 | |
| <!-- $Revision$ -->
 | |
| <!-- EN-Revision: 1.1 Maintainer: nobody Status: ready -->     
 | |
| <sect1 id="variable.global.assign">
 | |
|       <title>$global_assign</title>
 | |
|       <para>
 | |
|        Essa é a lista de variáveis que estão sempre implicitamente fixadas
 | |
|        para o template engine. Isso está acessível para fazer variáveis
 | |
|        globais ou variáveis do servidor disponíveis para todo o template
 | |
|        sem ter que fixá-las manualmente. Cada elemento em
 | |
|        $global_assign deve ser um nome de uma variável global,
 | |
|        ou um par de chave/valor, onde a chave é o nome do array global
 | |
|        array e o valor é o array de variáveis fixadas deste array global. $SCRIPT_NAME é 
 | |
|        globalmente fixado por padrão
 | |
|        para $HTTP_SERVER_VARS.
 | |
|       </para>
 | |
| 	 <note>
 | |
| 	 <title>Notas Técnicas</title>
 | |
| 	 <para>
 | |
|        Variáveis de servidor podem ser acessadas através da variável
 | |
|        $smarty, como {$smarty.server.SCRIPT_NAME}. Veja a seção
 | |
|        da variável
 | |
|        <link linkend="language.variables.smarty">$smarty</link>.
 | |
|       </para>
 | |
| 	 </note>
 | |
| </sect1>
 | |
| <!-- Keep this comment at the end of the file
 | |
| Local variables:
 | |
| mode: sgml
 | |
| sgml-omittag:t
 | |
| sgml-shorttag:t
 | |
| sgml-minimize-attributes:nil
 | |
| sgml-always-quote-attributes:t
 | |
| sgml-indent-step:1
 | |
| sgml-indent-data:t
 | |
| indent-tabs-mode:nil
 | |
| sgml-parent-document:nil
 | |
| sgml-default-dtd-file:"../../../../manual.ced"
 | |
| sgml-exposed-tags:nil
 | |
| sgml-local-catalogs:nil
 | |
| sgml-local-ecat-files:nil
 | |
| End:
 | |
| vim600: syn=xml fen fdm=syntax fdl=2 si
 | |
| vim: et tw=78 syn=sgml
 | |
| vi: ts=1 sw=1
 | |
| --> |