BasePattern Class Reference
[Patterns used to build classes]

Inheritance diagram for BasePattern:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 tableExists ()
 guess what
 daoExists ()
 indicates DAO availability for classes which uses this pattern
 build (MetaClass $class)
 builds everything for given class

Static Public Member Functions

static dumpFile ($path, $content)

Protected Member Functions

 fullBuild (MetaClass $class)
 
Returns:
BasePattern

 buildProto (MetaClass $class)
 
Returns:
BasePattern

 buildBusiness (MetaClass $class)
 
Returns:
BasePattern

 buildDao (MetaClass $class)
 
Returns:
BasePattern


Detailed Description

Definition at line 16 of file BasePattern.class.php.


Member Function Documentation

BasePattern::tableExists (  ) 

guess what

Implements GenerationPattern.

Reimplemented in AbstractClassPattern, DtoClassPattern, EnumerationClassPattern, InternalClassPattern, and ValueObjectPattern.

Definition at line 18 of file BasePattern.class.php.

BasePattern::daoExists (  ) 

indicates DAO availability for classes which uses this pattern

Implements GenerationPattern.

Reimplemented in DictionaryClassPattern, DtoClassPattern, EnumerationClassPattern, InternalClassPattern, SpookedEnumerationPattern, StraightMappingPattern, and ValueObjectPattern.

Definition at line 23 of file BasePattern.class.php.

static BasePattern::dumpFile ( path,
content 
) [static]

Definition at line 28 of file BasePattern.class.php.

References $out, MetaConfiguration::me(), n, and MetaConfiguration::out().

Referenced by EnumerationClassPattern::build(), buildBusiness(), MetaConfiguration::buildContainers(), ValueObjectPattern::buildDao(), buildDao(), DtoClassPattern::buildDto(), buildProto(), and MetaConfiguration::buildSchema().

Here is the call graph for this function:

BasePattern::build ( MetaClass class  ) 

builds everything for given class

Implements GenerationPattern.

Reimplemented in EnumerationClassPattern, InternalClassPattern, and SpookedEnumerationPattern.

Definition at line 71 of file BasePattern.class.php.

References fullBuild().

Here is the call graph for this function:

BasePattern::fullBuild ( MetaClass class  )  [protected]

Returns:
BasePattern

Reimplemented in DtoClassPattern.

Definition at line 79 of file BasePattern.class.php.

References buildBusiness(), buildDao(), and buildProto().

Referenced by build().

Here is the call graph for this function:

BasePattern::buildProto ( MetaClass class  )  [protected]

Returns:
BasePattern

Reimplemented in DtoClassPattern.

Definition at line 90 of file BasePattern.class.php.

References ProtoClassBuilder::build(), dumpFile(), Format::indentize(), and MetaConfiguration::me().

Referenced by fullBuild().

Here is the call graph for this function:

BasePattern::buildBusiness ( MetaClass class  )  [protected]

Returns:
BasePattern

Reimplemented in DtoClassPattern.

Definition at line 114 of file BasePattern.class.php.

References BusinessClassBuilder::build(), dumpFile(), Format::indentize(), and MetaConfiguration::me().

Referenced by fullBuild().

Here is the call graph for this function:

BasePattern::buildDao ( MetaClass class  )  [protected]

Returns:
BasePattern

Reimplemented in DtoClassPattern, and ValueObjectPattern.

Definition at line 138 of file BasePattern.class.php.

References DaoBuilder::build(), dumpFile(), Format::indentize(), and MetaConfiguration::me().

Referenced by fullBuild().

Here is the call graph for this function:


The documentation for this class was generated from the following file:
Generated on Sun Dec 9 21:56:53 2007 for onPHP by  doxygen 1.5.4