| 
									
										
										
										
											2004-04-13 15:43:47 +00:00
										 |  |  |  | <?xml version="1.0" encoding="iso-8859-1"?> | 
					
						
							|  |  |  |  | <!-- $Revision$ --> | 
					
						
							| 
									
										
										
										
											2004-05-23 15:50:53 +00:00
										 |  |  |  | <!-- EN-Revision: 1.1 Maintainer: nobody Status: partial --> | 
					
						
							|  |  |  |  | <sect1 id="language.function.assign"> | 
					
						
							|  |  |  |  |  <title>assign</title> | 
					
						
							|  |  |  |  |  <informaltable frame="all"> | 
					
						
							|  |  |  |  |   <tgroup cols="5"> | 
					
						
							|  |  |  |  |    <colspec colname="param" align="center" /> | 
					
						
							|  |  |  |  |    <colspec colname="type" align="center" /> | 
					
						
							|  |  |  |  |    <colspec colname="required" align="center" /> | 
					
						
							|  |  |  |  |    <colspec colname="default" align="center" /> | 
					
						
							|  |  |  |  |    <colspec colname="desc" /> | 
					
						
							|  |  |  |  |    <thead> | 
					
						
							|  |  |  |  |     <row> | 
					
						
							|  |  |  |  |      <entry>Nom attribut</entry> | 
					
						
							|  |  |  |  |      <entry>Type</entry> | 
					
						
							|  |  |  |  |      <entry>Requis</entry> | 
					
						
							|  |  |  |  |      <entry>Defaut</entry> | 
					
						
							|  |  |  |  |      <entry>Description</entry> | 
					
						
							|  |  |  |  |     </row> | 
					
						
							|  |  |  |  |    </thead> | 
					
						
							|  |  |  |  |    <tbody> | 
					
						
							|  |  |  |  |     <row> | 
					
						
							|  |  |  |  |      <entry>var</entry> | 
					
						
							|  |  |  |  |      <entry>cha<EFBFBD>ne de caract<63>re</entry> | 
					
						
							|  |  |  |  |      <entry>Oui</entry> | 
					
						
							|  |  |  |  |      <entry><emphasis>n/a</emphasis></entry> | 
					
						
							|  |  |  |  |      <entry>Le nom de la variable assign<67>e</entry> | 
					
						
							|  |  |  |  |     </row> | 
					
						
							|  |  |  |  |     <row> | 
					
						
							|  |  |  |  |      <entry>value</entry> | 
					
						
							|  |  |  |  |      <entry>cha<EFBFBD>ne de caract<63>re</entry> | 
					
						
							|  |  |  |  |      <entry>Oui</entry> | 
					
						
							|  |  |  |  |      <entry><emphasis>n/a</emphasis></entry> | 
					
						
							|  |  |  |  |      <entry>La valeur assign<67>e</entry> | 
					
						
							|  |  |  |  |     </row> | 
					
						
							|  |  |  |  |    </tbody> | 
					
						
							|  |  |  |  |   </tgroup> | 
					
						
							|  |  |  |  |  </informaltable> | 
					
						
							|  |  |  |  |  <para> | 
					
						
							|  |  |  |  |   Assign est utilis<69> pour d<>clarer ou modifier des variables de template. | 
					
						
							|  |  |  |  |  </para> | 
					
						
							|  |  |  |  |  <example> | 
					
						
							|  |  |  |  |   <title>assign</title> | 
					
						
							| 
									
										
										
										
											2004-04-13 15:43:47 +00:00
										 |  |  |  | <programlisting> | 
					
						
							|  |  |  |  | {assign var="name" value="Bob"} | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  | La valeur de $name est {$name}. | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  | SORTIE: | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  | La valeur de $name est Bob.</programlisting> | 
					
						
							| 
									
										
										
										
											2004-05-23 15:50:53 +00:00
										 |  |  |  |  </example> | 
					
						
							| 
									
										
										
										
											2004-04-13 15:43:47 +00:00
										 |  |  |  | </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 | 
					
						
							| 
									
										
										
										
											2004-05-23 15:50:53 +00:00
										 |  |  |  | --> |