Property | Type | Description | |
---|---|---|---|
$baseElement | |||
$countTypes | |||
$indexTypes | |||
$searchTypes | |||
$tagTypes | |||
$targetTypes |
Method | Description | |
---|---|---|
__construct ( $baseElement ) |
Method | Description | |
---|---|---|
convertMethodNameToWords ( string $methodName ) : array |
||
determineCountType ( array |
||
determineIndexType ( array |
||
determineSearchType ( array |
||
determineTagType ( string $targetType ) : string | ||
determineTargetType ( array |
||
isPluralTarget ( string $targetType ) : boolean | ||
retrieveElement ( $methodName, $methodArgs ) | ||
retrieveElements ( string $methodName, array |
protected convertMethodNameToWords ( string $methodName ) : array |
||
$methodName | string | camelCase string to parse |
return | array |
protected determineCountType ( array |
||
$words | array |
|
return | integer | null |
protected determineIndexType ( array |
||
$words | array |
|
return | integer | null |
protected determineSearchType ( array |
||
$words | array |
|
return | string | null |
protected determineTagType ( string $targetType ) : string | ||
$targetType | string | |
return | string |
protected determineTargetType ( array |
||
$words | array |
|
return | string |
protected isPluralTarget ( string $targetType ) : boolean | ||
$targetType | string | |
return | boolean |
protected retrieveElements ( string $methodName, array |
||
$methodName | string | |
$methodArgs | array |
|
return | array |