Свойство | Type | Description | |
---|---|---|---|
$oFactory | Stores the admin page factory object. |
Méthode | Description | |
---|---|---|
_replyToModifyFileContents ( $sFileContents, $sPathInArchive ) : string | Modifies the file contents of the archive. | |
_replyToModifyPathInArchive ( string $sPathInArchive ) : string | Modifies the path in the archive which include the file name. | |
_replyToModifyPathName ( $aMatches ) | Modifies the regex-matched string. | |
addFields ( $oFactory, $sSectionID ) : void | Adds form fields. | |
replyToDownloadFramework ( $aSavedData, $sSubmittedFieldID, $sSubmittedInputID, $oAdminPage ) | Lets the user download their own version of Admin Page Framework. | |
replyToFilterFileName ( $sFileName, $sFieldID, $sInputID, $vExportingData, $oAdminPage ) : string | Filters the exporting file name. | |
replyToModifyExportHTTPHeader ( $aHeader, $sFieldID, $sInputID, $mData, $sFileName, $oFactory ) | Modifies the HTTP header of the export field. | |
validate ( $aInput, $aOldInput, $oAdminPage, $aSubmitInfo ) | Validates the submitted form data. |
Méthode | Description | |
---|---|---|
construct ( $oFactory ) : void | A user constructor. |
Méthode | Description | |
---|---|---|
_getCheckedComponents ( ) : array | Returns an array holding elements that the user has selected in the form. | |
_getComponentLabels ( ) : array | Returns component labels as an array. | |
_getDisallowedArchiveDirectoryPaths ( ) : array | Returns an array holding allowed paths set to the archive. | |
_getDownloadFileName ( ) : string | Returns the user-set file name. | |
_getDownloadFrameworkZipFile ( $sFrameworkDirPath, $sDestinationPath ) : string | Generates the framework zip data. | |
_getFormSubmitValueByFieldIDAsString ( $sFieldID ) : string | Retrieves the value from the $_POST array by the given field ID. | |
_isAllowedArchivePath ( $sPath ) : boolean | Checks whether the passed archive path is allowed. | |
_modifyClassName ( $sSubject ) : string | Modifies the given class name. | |
_modifyClassNameByPath ( $sFileContents, $sPathInArchive ) : string | Modifies the given file contents. | |
_modifyClassNameOfInclusionList ( $sFileContents ) : string | Modifies the class inclusion list. | |
_modifyFileDockblock ( $sFileContents ) : string | Inserts additional information such as an included component list and a date to the file doc-block (the header comment part). | |
_modifyTextDomain ( $sFileContents ) : string | Modifies the text domain in the given file contents. | |
_sanitizeFieldValues ( array $aInput, $oAdminPage ) : array | Sanitizes user-submitted form field values. |
public _replyToModifyFileContents ( $sFileContents, $sPathInArchive ) : string | ||
Résultat | string | The modified file contents. |
public _replyToModifyPathInArchive ( string $sPathInArchive ) : string | ||
$sPathInArchive | string | The internal path of the archive including the parsing file name. |
Résultat | string |
public _replyToModifyPathName ( $aMatches ) |
public replyToDownloadFramework ( $aSavedData, $sSubmittedFieldID, $sSubmittedInputID, $oAdminPage ) |
public replyToFilterFileName ( $sFileName, $sFieldID, $sInputID, $vExportingData, $oAdminPage ) : string | ||
Résultat | string |
public replyToModifyExportHTTPHeader ( $aHeader, $sFieldID, $sInputID, $mData, $sFileName, $oFactory ) |
public validate ( $aInput, $aOldInput, $oAdminPage, $aSubmitInfo ) |