Joomla Diagramas de Flujos

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

Mambo 4.5.2 – Site index.

php flow diagram

Start Support Libraries


compat.php42x.php
Does globals.php
Load web
No configuration.php
installer
exist? compat.php41x.php
configuration.php
version.php
Yes
Old PHP Compatibility database.php

gacl.class.php
Show offline Yes Is site offline gacl_api.class.php
template mambo.php
class.phpmailer.php
legacy.php
mamboxml.php
sef.php

frontend.php frontend.html.php

Determine 'option' and


'Itemid' from URI or first Summary of Purpose of Included Files
link in Main Menu (note, directory prefix is omitted for clarity)

globals.php
Emulates register_globals = off

configuration.php
Global configuration settings for Mambo
Change some values of
'option' to support legacy compat.41x.php & compat.42x.php
versions Compatibility functions for older version of PHP.

mambo.php & mamboxml.php


Many support classes and function. Creates database, acl and
mambot global handlers
Create $mainframe
Initialise the user session legacy.php
A collection of code that supports legacy operations. Code in
this file is likely to be removed in future versions as the need for
legacy support increases.

Load language sef.php


Support code for Search Engine Friendly URL's

Process and frontend.php


redirect actions Support functions for frontend template processing
(eg save)
frontend.html.php
Presentation (html) support functions for template processing
Process and Are we doing version.php
Yes
redirect 'login' or 'logout The current version of the Mambo application

database.php
component.php Support classes for database abstraction

gacl.class.php & gacl_api.class.php


Support classes for user access control
'task' Presentation
class.phpmailer.php
Support classes for mailing

Buffer 'component' output component.html.php Components

The Components Collection is located in the /components


directory. Each component has it's own folder where the name
Buffer of the folder is prefixed with 'com_'.

component.php
Store in Processes 'task's passed via the URI. For tasks such as 'save'
$_MOS_OPTION['buffer'] there is no html output and the script redirects the URL to a
different location. This prevents, for example, 'double' saves if
you refresh the browser immediately after the event.

component.html.php
Load dynamic module
The presentation layer handler for the component.
Load 'template' positions
Modules

Modules positions are loaded dynamically based on database


settings. Support functions and classes for module processing
are found in frontend.php and frontend.html.php.

Flush buffered content

End

You might also like