Creator
[ class tree: Creator ] [ index: Creator ] [ all elements ]

Class: Mai_Creator_Pattern

Source Location: /Mai/Creator/Pattern.php

Class Overview


Mai_Creator_Pattern is a creator class for patterns.


Author(s):

  • Wouter Bulten (wouterbulten@mai-ai.org)

Copyright:

  • Copyright (C) 2009 Mai (Me Artificial Intelligence)

Implements interfaces:

Variables

Methods



Class Details

[line 44]
Mai_Creator_Pattern is a creator class for patterns.



Tags:

author:  Wouter Bulten (wouterbulten@mai-ai.org)
copyright:  Copyright (C) 2009 Mai (Me Artificial Intelligence)
link:  http://www.launchpad.net/mai
license:  GNU General Public License version 3 (GPLv3)


[ Top ]


Class Variables

$_pattern =

[line 54]



Tags:

var:  Contains the pattern.
access:  protected

Type:   Mai_Pattern


[ Top ]

$_wordArray = array()

[line 49]



Tags:

var:  Contains an array with words.
access:  protected

Type:   array


[ Top ]



Class Methods


constructor __construct [line 59]

Mai_Creator_Pattern __construct( $creator)

Constructor checks if Mai has been set up.



Tags:

access:  public


Parameters:

   $creator  

[ Top ]

method returnPattern [line 122]

Mai_Pattern returnPattern( )

Return the created pattern.



Tags:

access:  public


[ Top ]

method run [line 82]

void run( )

Runs the splitting process.



Tags:

access:  public



Implementation of:
Mai_Creator_Interface::run()
[ Top ]

method setWordArray [line 73]

void setWordArray( $wordArray)



Tags:

access:  public


Parameters:

array   $wordArray  

[ Top ]


Documentation generated on Mon, 27 Jul 2009 19:55:11 +0200 by phpDocumentor 1.4.1