MContext Class Reference

Collaboration diagram for MContext:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 __construct ($url= '', $style=0, $scramble=false)
 SetStyle ($value=0)
 GetStyle ()
 GetAction ($index=0)
 GetVar ($name)
 ShiftAction ()
 PushAction ($a)
 ComposeURL ($dispatch= '', $module= '', $action= '', $args= '', $scramble=false)
 getPreviousAction ()

Public Attributes

const DISPATCH = 1
const MODULE = 3
const ACTION = 5
const DELIMITER = 6
const TYPE = 7
 $manager
 $module
 $action
 $item
 $style
 $isFile
 $isRoot
 $fileName
 $fileArea
 $fileType
 $scramble

Private Member Functions

 parseScramble ($url)
 parseUrl ($url)
 parseURI ()
 GetTokens ()

Private Attributes

 $actionTokens
 $currentToken
 $path
 $queryString
 $vars
 $host
 $dispatch

Detailed Description

Definition at line 2 of file mcontext.class.


Constructor & Destructor Documentation

MContext::__construct ( url = '',
style = 0,
scramble = false 
)

Definition at line 30 of file mcontext.class.

References $queryString, $scramble, $style, GetTokens(), parseScramble(), and parseUrl().

Here is the call graph for this function:


Member Function Documentation

MContext::parseScramble ( url  )  [private]

Definition at line 67 of file mcontext.class.

Referenced by __construct().

Here is the caller graph for this function:

MContext::parseUrl ( url  )  [private]

Definition at line 76 of file mcontext.class.

References parseURI().

Referenced by __construct().

Here is the call graph for this function:

Here is the caller graph for this function:

MContext::parseURI (  )  [private]

Definition at line 94 of file mcontext.class.

References GetTokens().

Referenced by parseUrl().

Here is the call graph for this function:

Here is the caller graph for this function:

MContext::GetTokens (  )  [private]

Definition at line 124 of file mcontext.class.

References $fileName, and $path.

Referenced by __construct(), and parseURI().

Here is the caller graph for this function:

MContext::SetStyle ( value = 0  ) 

Definition at line 148 of file mcontext.class.

MContext::GetStyle (  ) 

Definition at line 153 of file mcontext.class.

MContext::GetAction ( index = 0  ) 

Definition at line 158 of file mcontext.class.

References $action.

MContext::GetVar ( name  ) 

Definition at line 165 of file mcontext.class.

MContext::ShiftAction (  ) 

Definition at line 170 of file mcontext.class.

References $action.

MContext::PushAction ( a  ) 

Definition at line 176 of file mcontext.class.

MContext::ComposeURL ( dispatch = '',
module = '',
action = '',
args = '',
scramble = false 
)

Definition at line 187 of file mcontext.class.

References $action, $dispatch, $module, and $scramble.

MContext::getPreviousAction (  ) 

Definition at line 217 of file mcontext.class.


Member Data Documentation

const MContext::DISPATCH = 1

Definition at line 4 of file mcontext.class.

const MContext::MODULE = 3

Definition at line 5 of file mcontext.class.

const MContext::ACTION = 5

Definition at line 6 of file mcontext.class.

const MContext::DELIMITER = 6

Definition at line 7 of file mcontext.class.

const MContext::TYPE = 7

Definition at line 8 of file mcontext.class.

MContext::$manager

Definition at line 10 of file mcontext.class.

MContext::$module

Definition at line 11 of file mcontext.class.

Referenced by ComposeURL().

MContext::$action

Definition at line 12 of file mcontext.class.

Referenced by ComposeURL(), GetAction(), and ShiftAction().

MContext::$item

Definition at line 13 of file mcontext.class.

MContext::$actionTokens [private]

Definition at line 14 of file mcontext.class.

MContext::$currentToken [private]

Definition at line 15 of file mcontext.class.

MContext::$path [private]

Definition at line 16 of file mcontext.class.

Referenced by GetTokens().

MContext::$queryString [private]

Definition at line 17 of file mcontext.class.

Referenced by __construct().

MContext::$vars [private]

Definition at line 18 of file mcontext.class.

MContext::$host [private]

Definition at line 19 of file mcontext.class.

MContext::$dispatch [private]

Definition at line 20 of file mcontext.class.

Referenced by ComposeURL().

MContext::$style

Definition at line 21 of file mcontext.class.

Referenced by __construct().

MContext::$isFile

Definition at line 22 of file mcontext.class.

MContext::$isRoot

Definition at line 23 of file mcontext.class.

MContext::$fileName

Definition at line 24 of file mcontext.class.

Referenced by GetTokens().

MContext::$fileArea

Definition at line 25 of file mcontext.class.

MContext::$fileType

Definition at line 26 of file mcontext.class.

MContext::$scramble

Definition at line 27 of file mcontext.class.

Referenced by __construct(), and ComposeURL().


The documentation for this class was generated from the following file:
CopyLeft (L) 2001-2006 - [MIOLO Development Team] SOLIS - Cooperativa de Soluções Livres - Lajeado/RS - Brasil