| Server IP : 54.36.91.62 / Your IP : 216.73.217.112 Web Server : Apache System : Linux webm013.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : coopiak ( 151928) PHP Version : 8.3.23 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/coopiak/dansnotreville-fr/nice/libraries/CBLib/CBLib/Controller/ |
Upload File : |
<?php
/**
* CBLib, Community Builder Library(TM)
* @version $Id: 10.06.13 15:47 $
* @package CBLib\Core
* @copyright (C) 2004-2023 www.joomlapolis.com / Lightning MultiCom SA - and its licensors, all rights reserved
* @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU/GPL version 2
*/
namespace CBLib\Controller;
use CBLib\Input\InputInterface;
defined('CBLIB') or die();
/**
* CBLib\Core\RouterInterface Interface definition
*
*/
interface RouterInterface
{
/**
* This is the router parser, parsing from the Input $input.
*
* @param InputInterface $input Input
* @return callable|null array( 'className', 'methodName' )
*/
public function parseRoute( InputInterface $input );
/**
* Parses the $input for the main routing arguments
*
* @return array Keyed array with the 3 main routing arguments
*/
public function getMainRoutingArgs( );
/**
* Returns the core views for this CMS
*
* @return array
*/
public function getViews( );
/**
* Converts a string to a url safe alias
*
* @param string $string
* @param int $length
* @return string
*/
public function stringToAlias( $string, $length = 400 );
/**
* Checks if the URL is an internal URL to the site
*
* @param string $url
* @return bool
*/
public function isInternal( $url );
/**
* Returns the URL currently being accessed
*
* @return string
*/
public function getCurrentURL();
}