API > eden > class.php
View Source

class Eden_Class

The base class for all classes wishing to integrate with Eden. Extending this class will allow your methods to seemlessly be overloaded and overrided as well as provide some basic class loading patterns.

Constants

  • DEBUG: DEBUG %s:
  • INSTANCE: 0

Public Methods

public function callThis($method, array $args = array())

Calls a method in this class and allows argumetns to be passed as an array

Arguments

  1. string
  2. array

Returns mixed

public function debug($variable = NULL, $next = NULL)

Force outputs any class property

Arguments

  1. string|null
  2. string|null

Returns this

public function each($callback)

Loops through returned result sets

Arguments

  1. *callable

Returns this

public function routeThis($route)

Creates a class route for this class.

Arguments

  1. *string the class route name

Returns Eden_Class

public function when($isTrue, $lines = 0)

Invokes When if conditional is false

Arguments

  1. bool

Returns this|Eden_Noop


© 2012 Openovate Labs. All rights reserved.