API > eden.php
View Source

class Eden

Defines the starting point of every framework call. Starts laying out how classes and methods are handled.

Public Methods

public function setRoot($root)

Sets the root path

Arguments

  1. string

Returns this

public function getRoot()

Returns the root path

Returns string

public function getActiveApp()

Get Active Application

Returns Eden

public function setLoader()

Sets up Autoloading

Arguments

  1. string|array path

Returns this

public function routeClasses($routes)

Sets class routes

Arguments

  1. string|array routes

Returns Eden_Framework

public function routeMethods($routes)

Sets method routes

Arguments

  1. string|array routes

Returns Eden_Framework

public function startSession()

Starts a session

Returns this

public function setTimezone($zone)

Sets the PHP timezone

Returns this


© 2012 Openovate Labs. All rights reserved.