kernel3
[ class tree: kernel3 ] [ index: kernel3 ] [ all elements ]

Class: F

Source Location: /kernel3.php

Class Overview

FBaseClass
   |
   --FEventDispatcher
      |
      --F

the main kernel class


Constants

Methods


Inherited Variables

Inherited Methods


Class Details

[line 108]
the main kernel class

used to control all the modules




[ Top ]


Class Methods


static method kernel [line 164]

static object Returns kernel( [string $name = null])

This method is used to access the kernel from any context (as it is a static method).



Tags:

return:  module object (if $name is defined) or kernel root object.
access:  public


Parameters:

string   $name   Name of the kernel module to access

[ Top ]

method ping [line 176]

bool ping( string $name)

Tests if module with given name is accessable



Tags:

access:  public


Parameters:

string   $name  

[ Top ]

method runModule [line 185]

bool runModule( string $mod_name)

Loads and initializes $mod_name module



Tags:

access:  public


Parameters:

string   $mod_name  

[ Top ]

method __call [line 280]

mixed __call( string $name, array $arguments)

Handles calling modules like functions

Calls '_Call' method of selected module




Tags:

access:  public


Overrides FBaseClass::__call() (parent method not documented)

Parameters:

string   $name  
array   $arguments  

[ Top ]

method __get [line 265]

object __get( string $name)

Handles accessing to modules in F()->module form



Tags:

access:  public


Overrides FBaseClass::__get() (parent method not documented)

Parameters:

string   $name  

[ Top ]


Class Constants

INTERNAL_ENCODING =  F_INTERNAL_ENCODING

[line 110]

internal encoding (usually UTF-8)


[ Top ]

KERNEL_DIR =  F_KERNEL_DIR

[line 112]

kernel files directory


[ Top ]



Documentation generated on Wed, 08 Dec 2010 11:29:27 +0300 by phpDocumentor 1.4.3