Class: LayoutService

Source Location: /CORE/system/classes/layout/LayoutService.php

Class LayoutService

Class Overview

This should be used to handle Layouts.

Receive all information about the known Layouts.

Located in /CORE/system/classes/layout/LayoutService.php [line 39]



		
				Author(s):
		
  • Kevin Papst
Information Tags:
Version:  $Id: LayoutService.php,v 1.6 2006/11/26 22:04:20 kpapst Exp $
Copyright:  Copyright (C) 2002-2006 Kevin Papst
License:  GNU Public License

Methods

[ Top ]
Method Summary
LayoutService   LayoutService()   Instantiates a new LayoutService.
array   getDefinitionNames()   Gets an Array with all known Definition Names.
Layout   getLayout()   Returns the Layout for the given Defintion file and key (if provided).

[ Top ]
Methods
Constructor LayoutService  [line 50]

  LayoutService LayoutService( )

Instantiates a new LayoutService.

This is used for receiving any kind of Layout Object.



[ Top ]
getDefinitionNames  [line 58]

  array getDefinitionNames( )

Gets an Array with all known Definition Names.


API Tags:
Return:  all known definition names


[ Top ]
getLayout  [line 79]

  Layout getLayout( $name, [ $key = '']  )

Returns the Layout for the given Defintion file and key (if provided).

This methods uses a caching mechanism, better do not instantiate Layouts directly!

Parameters:
   $name: 
   $key: 

API Tags:
Return:  the required Layout.


[ Top ]