Class SS_ReportWrapper
SS_ReportWrapper is a base class for creating report wappers.
Wrappers encapsulate an existing report to alter their behaviour - they are implementations of the standard GoF decorator pattern.
This base class ensure that, by default, wrappers behave in the same way as the report that is being wrapped. You should override any methods that need to behave differently in your subclass of SS_ReportWrapper.
It also makes calls to 2 empty methods that you can override SS_ReportWrapper::beforeQuery() and SS_ReportWrapper::afterQuery()
- Object
-
ViewableData
implements
IteratorAggregate
-
SS_Report
-
SS_ReportWrapper
Direct known subclasses
Methods summary
public
|
|
public
string
|
|
public
|
|
public
|
#
columns( )
Return an map of columns for your report. |
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
boolean
|
Methods inherited from SS_Report
TreeTitle(),
count(),
dataClass(),
getCMSActions(),
getCMSFields(),
getReportField(),
get_reports(),
records(),
register(),
sortColumns(),
unregister()
Methods inherited from ViewableData
ATT_val(),
BaseHref(),
CSSClasses(),
ColumnBreak(),
ColumnCalc(),
ColumnNumber(),
ColumnPad(),
ColumnPos(),
CurrentMember(),
CurrentPage(),
Debug(),
Even(),
EvenOdd(),
First(),
FirstLast(),
HasPerm(),
IsAjax(),
JS_val(),
Last(),
Me(),
Middle(),
MiddleString(),
Modulus(),
MultipleOf(),
Odd(),
Pos(),
RAW_val(),
SQL_val(),
ThemeDir(),
ThemeName(),
Top(),
TotalItems(),
XML_val(),
__get(),
__isset(),
__set(),
buildCastingCache(),
cachedCall(),
castingClass(),
castingHelper(),
castingHelperPair(),
castingObjectCreator(),
castingObjectCreatorPair(),
customise(),
defineMethods(),
escapeTypeForField(),
getField(),
getIterator(),
getSecurityID(),
getXMLValues(),
hasField(),
hasValue(),
i18nLocale(),
iteratorProperties(),
obj(),
renderWith(),
setCustomisedObj(),
setField()
Methods inherited from Object
__call(),
__toString(),
__wakeup(),
addMethodsFrom(),
addStaticVars(),
addWrapperMethod(),
add_extension(),
add_static_var(),
allMethodNames(),
cacheToFile(),
cacheToFileWithArgs(),
clearCache(),
combined_static(),
create(),
createMethod(),
create_from_string(),
exists(),
extInstance(),
extend(),
getCustomClass(),
getExtensionInstance(),
getExtensionInstances(),
get_extensions(),
get_static(),
hasExtension(),
hasMethod(),
has_extension(),
invokeWithExtensions(),
is_a(),
loadCache(),
parentClass(),
parse_class_spec(),
remove_extension(),
sanitiseCachename(),
saveCache(),
set_stat(),
set_static(),
set_uninherited(),
stat(),
strong_create(),
uninherited(),
uninherited_static(),
useCustomClass()
Magic methods summary
Properties summary
protected
mixed
|
$baseReport |
Properties inherited from SS_Report
$dataClass,
$description,
$title
Properties inherited from ViewableData
$casting,
$customisedObject,
$default_cast,
$failover,
$iteratorPos,
$iteratorTotalItems