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

Class: Testing_FIT_TypeFilter

Source Location: /Testing_FIT-0.2.2/TypeFilter.php

Class Overview


FIT Fixture type adapter


Author(s):

Version:

  • 0.1.0

Variables

Methods


Child classes:

Testing_FIT_TypeFilter_String
FIT Fixture type filter: string
Testing_FIT_TypeFilter_Float
FIT Fixture type filter: integer
Testing_FIT_TypeFilter_Boolean
FIT Fixture type filter: boolean
Testing_FIT_TypeFilter_Integer
FIT Fixture type filter: integer

Inherited Variables

Inherited Methods


Class Details

[line 20]
FIT Fixture type adapter
  • Version: 0.1.0


[ Top ]


Class Variables

$type =  'filter type'

[line 26]

name of type
  • Access: protected

Type:   string


[ Top ]



Method Detail

create   [line 45]

object filter create( string $type)

create a filter object
  • Access: public

Parameters:

string   $type   —  variable type

[ Top ]

in   [line 90]

mixes in( string $cData)

parse string to figure out PHP value
  • Access: public

Overridden in child classes as:

Testing_FIT_TypeFilter_Float::in()
parse string to figure out PHP value
Testing_FIT_TypeFilter_Boolean::in()
parse string to figure out PHP value
Testing_FIT_TypeFilter_Integer::in()
parse string to figure out PHP value

Parameters:

string   $cData   — 

[ Top ]

isEqual   [line 67]

string isEqual( string $string, moxes $value)

compare string with PHP value
  • Access: public

Overridden in child classes as:

Testing_FIT_TypeFilter_String::isEqual()
compare string with PHP value
Testing_FIT_TypeFilter_Float::isEqual()
compare string with PHP value

Parameters:

string   $string   — 
moxes   $value   — 

[ Top ]

out   [line 79]

string out( moxes $value)

make string representation of value
  • Access: public

Overridden in child classes as:

Testing_FIT_TypeFilter_Float::out()
make string representation of value
Testing_FIT_TypeFilter_Boolean::out()
make string representation of value
Testing_FIT_TypeFilter_Integer::out()
make string representation of value

Parameters:

moxes   $value   — 

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:09:48 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.