gyro/core/lib/interfaces/iurlbuilder.cls.php
Go to the documentation of this file.00001 <?php 00002 /** 00003 * Interface for classes that can create URLs 00004 * 00005 * @author Gerd Riesselmann 00006 * @ingroup Interfaces 00007 */ 00008 interface IUrlBuilder { 00009 const ABSOLUTE = true; 00010 const RELATIVE = false; 00011 00012 /** 00013 * Build the URL 00014 * 00015 * @param bool $absolute_or_relative True to build an absolute URL, false to return path only 00016 * @param mixed $params Further parameters to use to build URL 00017 */ 00018 public function build_url($absolute_or_relative, $params = null); 00019 }