gyro/core/lib/interfaces/iparameterizedroutehandler.cls.php
Go to the documentation of this file.00001 <?php 00002 /** 00003 * Handles on type for paramterized routed 00004 * 00005 * @author Gerd Riesselmann 00006 * @ingroup Interfaces 00007 */ 00008 interface IParameterizedRouteHandler { 00009 /** 00010 * Returns the key that is used to identify this handler in route declaration, e.g. "s" or "ui>" 00011 * 00012 * @return string 00013 */ 00014 public function get_type_key(); 00015 00016 /** 00017 * Return regex to validate path 00018 */ 00019 public function get_validate_regex($params); 00020 00021 /** 00022 * Preprocess a value before URL is build 00023 */ 00024 public function preprocess_build_url($value); 00025 }