phpDocumentor sfW3studioCMSPlugin
w3sContentManagerFactory
[ class tree: sfW3studioCMSPlugin ] [ index: sfW3studioCMSPlugin ] [ all elements ]

Class: w3sContentManagerFactory

Source Location: /lib/w3studioCmsCore/content/w3sContentManagerFactory.class.php

Class w3sContentManagerFactory

Class Overview

w3sContentManagerFactory class.

This class is responsabile to generate a new w3sContentManager object. The new object created by this class is a derived object from the base w3sContentManager and the content type, which determines the object that have to be generated, is its class suffix.

This means that when a new content that manages the navigation menu, an istance of the w3sContentManagerMenu object that inherits from a w3sContentManager object, is required to generate the object, the only thing this class needs to know is the suffix of the required object, in this case "Menu".

This class can create an object from a w3sContent or directly by a valid suffix. When the object doesn't exist, a null value is returned.

Returns the subclassed content, according to the required type.

Located in /lib/w3studioCmsCore/content/w3sContentManagerFactory.class.php [line 44]



		
				Author(s):
		
		
		
Information Tags:

Methods

[ Top ]
Method Summary
static void   create()  

[ Top ]
Methods
static method create  [line 46]

  static void create( [ $content = null], [ $className = null], [ $forceByClassName = false]  )

Parameters:
   $content: 
   $className: 
   $forceByClassName: 

API Tags:
Access:  public


[ Top ]

Documentation generated on Tue, 11 Aug 2009 14:53:56 +0200 by phpDocumentor 1.4.0