linea21-externals
[ class tree: linea21-externals ] [ index: linea21-externals ] [ all elements ]

Class: awPattern

Source Location: /class/system/artichow/php5/Pattern.class.php

Class Overview


All patterns must derivate from this class


Author(s):

Variables

Methods



Class Details

[line 18]
All patterns must derivate from this class



Tags:

abstract:  


[ Top ]


Class Variables

$args = array()

[line 25]

Pattern arguments



Tags:

access:  protected

Type:   array


[ Top ]



Class Methods


static method get [line 33]

static Component get( string $pattern)

Load a pattern



Tags:

access:  public


Parameters:

string   $pattern   Pattern name

[ Top ]

method getArg [line 74]

mixed getArg( string $name, [mixed $default = NULL])

Get an argument



Tags:

return:  Argument value
access:  protected


Parameters:

string   $name  
mixed   $default   Default value if the argument does not exist (default to NULL)

[ Top ]

method setArg [line 61]

void setArg( string $name, mixed $value)

Change pattern argument



Tags:

access:  public


Parameters:

string   $name   Argument name
mixed   $value   Argument value

[ Top ]

method setArgs [line 87]

void setArgs( array $args)

Change several arguments



Tags:

access:  public


Parameters:

array   $args   New arguments

[ Top ]


Documentation generated on Thu, 03 May 2012 15:06:52 +0200 by phpDocumentor 1.4.1