ajout de la partie slam dans le dossier web
This commit is contained in:
		
							
								
								
									
										23
									
								
								ap23/web/doku/inc/Parsing/ParserMode/Camelcaselink.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								ap23/web/doku/inc/Parsing/ParserMode/Camelcaselink.php
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,23 @@ | ||||
| <?php | ||||
|  | ||||
| namespace dokuwiki\Parsing\ParserMode; | ||||
|  | ||||
| class Camelcaselink extends AbstractMode | ||||
| { | ||||
|  | ||||
|     /** @inheritdoc */ | ||||
|     public function connectTo($mode) | ||||
|     { | ||||
|         $this->Lexer->addSpecialPattern( | ||||
|             '\b[A-Z]+[a-z]+[A-Z][A-Za-z]*\b', | ||||
|             $mode, | ||||
|             'camelcaselink' | ||||
|         ); | ||||
|     } | ||||
|  | ||||
|     /** @inheritdoc */ | ||||
|     public function getSort() | ||||
|     { | ||||
|         return 290; | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user