| 1 | <?php |
| 2 | |
| 3 | /** |
| 4 | * Description of RecognizeURL |
| 5 | * |
| 6 | * @author Sander |
| 7 | */ |
| 8 | class RecognizeURL { |
| 9 | public static function GetContentHandler($url){ |
| 10 | if(FanFictionNet::Matches($url)){ |
| 11 | return new FanFictionNet($url); |
| 12 | } |
| 13 | return null; |
| 14 | } |
| 15 | } |
| 16 | ?> |