Mapper::root PHP Method

root() public static method

public static root ( $controller = null )
    public static function root($controller = null)
    {
        $self = self::instance();
        if (is_null($controller)) {
            return $self->root;
        } else {
            $self->root = $controller;
        }
    }

Usage Example

Example #1
0
<?php

Mapper::root('home');
All Usage Examples Of Mapper::root