mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	xmldocs: Improve examples.
Use example tags instead of regular para tags where possible. ASTERISK-30090 Change-Id: Iada8bbfda08f30b118cedf2d040bbb21e4966ec5
This commit is contained in:
		
				
					committed by
					
						 Joshua Colp
						Joshua Colp
					
				
			
			
				
	
			
			
			
						parent
						
							31dc28ab09
						
					
				
				
					commit
					51d262af12
				
			| @@ -93,7 +93,9 @@ | ||||
| 		<description> | ||||
| 			<para>Used in SQL templates to escape data which may contain single ticks | ||||
| 			<literal>'</literal> which are otherwise used to delimit data.</para> | ||||
| 			<para>Example: SELECT foo FROM bar WHERE baz='${SQL_ESC(${ARG1})}'</para> | ||||
| 			<example title="Escape example"> | ||||
| 			 SELECT foo FROM bar WHERE baz='${SQL_ESC(${ARG1})}' | ||||
| 			</example> | ||||
| 		</description> | ||||
| 	</function> | ||||
| 	<function name="SQL_ESC_BACKSLASHES" language="en_US"> | ||||
| @@ -106,7 +108,9 @@ | ||||
| 		<description> | ||||
| 			<para>Used in SQL templates to escape data which may contain backslashes | ||||
| 			<literal>\</literal> which are otherwise used to escape data.</para> | ||||
| 			<para>Example: SELECT foo FROM bar WHERE baz='${SQL_ESC(${SQL_ESC_BACKSLASHES(${ARG1})})}'</para> | ||||
| 			<example title="Escape with backslashes example"> | ||||
| 			SELECT foo FROM bar WHERE baz='${SQL_ESC(${SQL_ESC_BACKSLASHES(${ARG1})})}' | ||||
| 			</example> | ||||
| 		</description> | ||||
| 	</function> | ||||
|  ***/ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user