Свойство | Тип | Описание | |
---|---|---|---|
$aCustomFieldTypeLabels | |||
$aCustomFieldTypes | |||
$oFactory | Stores the admin page factory object. |
Метод | Описание | |
---|---|---|
__construct ( $oFactory, $sSectionID ) | Sets up hooks and properties. | |
_replyToSetPrefix ( &$sClassName, $sKey, $sPrefix = '' ) : string | ||
replyToModifyFileContents ( $sFileContents, $sPathInArchive, $aFormData, $oFactory ) : string | Modifies the file contents. | |
replyToSetAdditionalDirectoriesForGenerator ( $aDirPaths ) : array | Inserts extra archive directories of custom field types chosen by the user. |
Метод | Описание | |
---|---|---|
_getClassListOfCustomFieldTypes ( ) : string | ||
_getClassNameIfSelected ( $sPathInArchive ) : string | boolean | Retrieves the custom field type class name from the given archive path. | |
_getClassNamesPrefixed ( $sFileContents ) : string | Modifies the given content by replacing the class names with a prefix. | |
_getClassPrefixRegexPatterns ( array $aSelectedFieldTypeClassNames ) : array | Returns an array holding regular expressions needle patterns for class names. | |
_getClassPrefixRegexReplacements ( array $aSelectedFieldTypeClassNames ) : array | Returns an array holding regular expressions replacements for class names. | |
_getModifiedFileContents ( $sFileContents, $sPathInArchive, $sParsingClassName ) : string | Modify the file contents of the given path. | |
_getModifiedInclusionList ( $sFileContents ) : string | Modifies the class include list. | |
_getSelectedCustomFieldTypes ( array $aSubject = [] ) : array | ||
_setProperties ( ) : void | Sets up properties. |
public __construct ( $oFactory, $sSectionID ) |
public _replyToSetPrefix ( &$sClassName, $sKey, $sPrefix = '' ) : string | ||
Результат | string |
public replyToModifyFileContents ( $sFileContents, $sPathInArchive, $aFormData, $oFactory ) : string | ||
Результат | string |
public replyToSetAdditionalDirectoriesForGenerator ( $aDirPaths ) : array | ||
Результат | array |