|
PntPage |
PntErrorPage |
PntHorSelReportPage |
PntIndexPage |
PntObjectDetailsPage |
PntObjectEditDetailsPage |
PntObjectIndexPage |
PntObjectMtoNPropertyPage |
PntObjectMtoNSearchPage |
PntObjectPropertyPage |
PntObjectReportPage |
PntObjectSearchPage |
PntObjectSelectionDetailsReportPage |
PntObjectSelectionReportPage |
PntObjectVerifyDeletePage |
|
printPart |
addContextButtonTo |
addMultiValuePropertyButtons |
ajaxHandleRequest |
ajaxPrintHeaders |
ajaxPrintPartAttributes |
ajaxPrintPartUpdate |
ajaxPrintUpdates |
ajaxShouldUpdate |
checkAccess |
doScouting |
getAjaxLoadingMessage |
getAjaxUpdatePartIds |
getAjaxUpdateSubPartIds |
getAndCreateNextActionTicket |
getButton |
getButtonsList |
getCharset |
getConvert |
getDetailsHref |
getDetailsLinkPntHandler |
getExcludedMultiValuePropButtonKeys |
getFilterPartString |
getFootprintId |
getImagesDir |
getInfoStyle |
getInfoStyleError |
getInfoStyleOk |
getInfoStyleWarning |
getInitConverter |
getLinkDirFromNav |
getMultiValuePropertyButtonScript |
getNoItemsMessage |
getPart |
getPartId |
getPartIncludeTryParams |
getPropertyName |
getRequestDuration |
getSpecificPartPrefix |
getTargetAppName |
getThisPntContext |
handleRequest |
imp_printPart |
includeSkin |
initForHandleRequest |
isLayoutReport |
isRequestAjax |
printBody |
printBodyTagIeExtraPiece |
printExtraHeaders |
printFooter |
printFootprintJsLiteral |
printHeader |
printHeaderXframeOptions |
printHeaders |
printInformationPart |
printMainPart |
printNextActionTicket |
printPartDebugComment |
printSetTitle |
setInfoStyle |
|
/** (Inlcude and) print a part.
* The actual part class inclusion and instatiation itself is tried like this:
* - print<partName> method on $this
* $thisfunction (->(<partName>)->(), which does:
* - <pntType><partName> from application folder
* - <pntType><partName> from classes folder
* - <partName> from application folder
* - <partName> from classes folder
* - skin<pntType><partName>.php from application folder
* $this->(<partName), which does:
* - skin<partName>.php from application folder
* - skin<partName>.php from classes folder
* Where <pntType> may be replaced by overriding ::getSpecificPartPrefix().
* What actually happened may be inferred from the debug comments printed when Site>>debugMode is set to verbose
* @param string $partName the name of the part to print.
* more params will be passed to ::getPart.
*/
function printPart($partName) {
$this->($partName); //prevent debug comments with uncontrolled content
$debug = $this->();
if (!$debug)
return $this->(func_get_args());
$this->($partName, $debug);
$this->(func_get_args());
print "\n<!-- /$partName -->\n";
}
|
Copyright (c) MetaClass, 2003-
This code is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This code is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
Click here for a copy of the license or see http://www.gnu.org/licenses/ .
|
|