Index
A
- ArrayObject — Class in namespace phootwork\lang
- ArrayObject::append() — Method in class ArrayObject
- Append one or more elements onto the end of array
- Arrayable — Class in namespace phootwork\lang
- AddPart — Class in namespace phootwork\lang\parts
- AddPart::add() — Method in class AddPart
- Adds one or more elements to that array
- ArrayConversionsPart — Class in namespace phootwork\lang\parts
- Text methods for array/ArrayObject conversions
C
- Collection — Class in namespace phootwork\collection
- Collection interface
- Collection::clear() — Method in class Collection
- Resets the collection
- Collection::contains() — Method in class Collection
- Checks whether the given element is in this collection
- ArrayObject::clear() — Method in class ArrayObject
- Resets the array
- Comparable — Class in namespace phootwork\lang
- Comparable::compareTo() — Method in class Comparable
- Compares to another object
- ComparableComparator — Class in namespace phootwork\lang
- Class ComparableComparator
- ComparableComparator::compare() — Method in class ComparableComparator
- Comparator — Class in namespace phootwork\lang
- Comparator::compare() — Method in class Comparator
- Compares two objects
- StringComparator::compare() — Method in class StringComparator
- Compares two objects
- ArrayConversionsPart::chunk() — Method in class ArrayConversionsPart
- Convert the string to an array
- CheckerPart — Class in namespace phootwork\lang\parts
E
- EachPart — Class in namespace phootwork\lang\parts
- EachPart::each() — Method in class EachPart
- Iterates the array and calls the callback function with the current item as parameter
F
- FileException — Class in namespace phootwork\file\exception
- FileNotFoundException — Class in namespace phootwork\file\exception
- ArrayObject::flip() — Method in class ArrayObject
- Flips keys and values
G
- ArrayObject::getIterator() — Method in class ArrayObject
- InflectorInterface::getPluralForm() — Method in class InflectorInterface
- Generate a plural name based on the passed in root.
- InflectorInterface::getSingularForm() — Method in class InflectorInterface
- Generate a singular name based on the passed in root.
- TokenCollection::get() — Method in class TokenCollection
- Retrieves a token at the given index
I
- Collection::isEmpty() — Method in class Collection
- Checks whether this collection is empty
- InflectorInterface — Class in namespace phootwork\lang\inflector
- The generic interface to create a plural form of a name.
- InflectorInterface::isPlural() — Method in class InflectorInterface
- Check if $root word is plural.
- InflectorInterface::isSingular() — Method in class InflectorInterface
- Check if $root word is singular.
- CheckerPart::isEmpty() — Method in class CheckerPart
- Checks if the string is empty
- CheckerPart::isAlphanumeric() — Method in class CheckerPart
- Check if the string contains only alphanumeric characters.
- CheckerPart::isAlphabetic() — Method in class CheckerPart
- Check if the string contains only alphanumeric characters.
- CheckerPart::isNumeric() — Method in class CheckerPart
- Check if the string contains only numeric characters.
- CheckerPart::isPunctuation() — Method in class CheckerPart
- Check if the string contains only characters which are not whitespace or an alphanumeric.
- CheckerPart::isSpace() — Method in class CheckerPart
- Check if the string contains only space characters.
- CheckerPart::isLowerCase() — Method in class CheckerPart
- Check if the string contains only lower case characters.
- CheckerPart::isUpperCase() — Method in class CheckerPart
- Check if the string contains only upper case characters.
- CheckerPart::isSingular() — Method in class CheckerPart
- Check if a string is singular form.
- CheckerPart::isPlural() — Method in class CheckerPart
- Check if a string is plural form.
- InternalPart — Class in namespace phootwork\lang\parts
- Internal Text methods
J
- ArrayObject::join() — Method in class ArrayObject
- Joins the array with a string
- ArrayConversionsPart::join() — Method in class ArrayConversionsPart
- Join array elements with a string
K
- ArrayObject::keys() — Method in class ArrayObject
- Returns the keys of the array
L
- InternalPart::length() — Method in class InternalPart
M
- ArrayObject::merge() — Method in class ArrayObject
- Merges in other values
- ArrayObject::mergeRecursive() — Method in class ArrayObject
- Merges in other values, recursively
O
- ArrayObject::offsetSet() — Method in class ArrayObject
- ArrayObject::offsetExists() — Method in class ArrayObject
- ArrayObject::offsetUnset() — Method in class ArrayObject
- ArrayObject::offsetGet() — Method in class ArrayObject
P
- ArrayObject::prepend() — Method in class ArrayObject
- Prepend one or more elements to the beginning of the array
- PopPart — Class in namespace phootwork\lang\parts
- PopPart::pop() — Method in class PopPart
- Pop the element off the end of array
- PhpTokenizer — Class in namespace phootwork\tokenizer
R
- ReducePart — Class in namespace phootwork\lang\parts
- ReducePart::reduce() — Method in class ReducePart
- Iterative reduction of this array or collection with the help of a callback function. The callback function takes two parameters, the first is the carry, the second the current item, with this signature: mixed callback(mixed $carry, mixed $item)
- RemovePart — Class in namespace phootwork\lang\parts
- RemovePart::remove() — Method in class RemovePart
- Removes one or more elements from the array
- ReversePart — Class in namespace phootwork\lang\parts
- ReversePart::reverse() — Method in class ReversePart
- Reverses the order of all elements
S
- Collection::size() — Method in class Collection
- Returns the amount of elements in this collection
- ArrayObject::serialize() — Method in class ArrayObject
- ArrayObject::shift() — Method in class ArrayObject
- Shift an element off the beginning of array
- ArrayObject::splice() — Method in class ArrayObject
- Remove a portion of the array and replace it with something else
- ArrayObject::slice() — Method in class ArrayObject
- Extract a slice of the array
- StringComparator — Class in namespace phootwork\lang
- String comparison
- ArrayConversionsPart::split() — Method in class ArrayConversionsPart
- Splits the string by string
T
- Collection::toArray() — Method in class Collection
- Returns the collection as an array
- Arrayable::toArray() — Method in class Arrayable
- Array representation of the object
- PhpTokenizer::tokenize() — Method in class PhpTokenizer
- TokenCollection — Class in namespace phootwork\tokenizer
- TokenVisitorInterface — Class in namespace phootwork\tokenizer
U
- ArrayObject::unserialize() — Method in class ArrayObject
V
- ArrayObject::values() — Method in class ArrayObject
- Returns the values of the array
- TokenVisitorInterface::visitToken() — Method in class TokenVisitorInterface
- XmlParserNoopVisitor::visitElementEnd() — Method in class XmlParserNoopVisitor
- XmlParserNoopVisitor::visitProcessingInstruction() — Method in class XmlParserNoopVisitor
- XmlParserNoopVisitor::visitNotationDeclaration() — Method in class XmlParserNoopVisitor
- XmlParserNoopVisitor::visitUnparsedEntityDeclaration() — Method in class XmlParserNoopVisitor
- XmlParserNoopVisitor::visitElementStart() — Method in class XmlParserNoopVisitor
- XmlParserNoopVisitor::visitCharacterData() — Method in class XmlParserNoopVisitor
- XmlParserVisitorInterface::visitElementStart() — Method in class XmlParserVisitorInterface
- visits the start of an element
- XmlParserVisitorInterface::visitElementEnd() — Method in class XmlParserVisitorInterface
- visits the end of an element
- XmlParserVisitorInterface::visitCharacterData() — Method in class XmlParserVisitorInterface
- visits character data
- XmlParserVisitorInterface::visitProcessingInstruction() — Method in class XmlParserVisitorInterface
- visits a processing instruction
- XmlParserVisitorInterface::visitNotationDeclaration() — Method in class XmlParserVisitorInterface
- visits a notation declaration
- XmlParserVisitorInterface::visitUnparsedEntityDeclaration() — Method in class XmlParserVisitorInterface
- visits an unparsed entity declaration
X
- XmlParserNoopVisitor — Class in namespace phootwork\xml
- XmlParserVisitorInterface — Class in namespace phootwork\xml
- XmlException — Class in namespace phootwork\xml\exception
_
- ArrayObject::__construct() — Method in class ArrayObject
- ArrayObject::__serialize() — Method in class ArrayObject
- ArrayObject::__unserialize() — Method in class ArrayObject