\MetaTagCMSFixImageLocations
Synopsis
class MetaTagCMSFixImageLocations
extends BuildTask
{
- // members
- protected string $title = "Fix File Locations";
- protected string $description = "This method is useful when most of your files end up in the 'Upload' folder. This task will put all the HAS_ONE and HAS_MANY files into the following folders {CLASSNAME}_{FIELDNAME}. You can run this task safely, as it will only execute with a special GET parameter (i.e. it defaults to run in test-mode only).";
- private static Array $folders_to_ignore = ;
- private array $listOfIgnoreFoldersArray = ;
- private Boolean $forReal = false;
- private Boolean $doOne = false;
- private Boolean $cleanupFolder = 0;
- private Boolean $summaryOnly = false;
- // methods
- public static void my_link()
- public void run()
- private void addListOfIgnoreFoldersArray()
- private void linkWithGetParameter()
Hierarchy
Extends
- BuildTask
Members
private
- $cleanupFolder
—
Boolean
clean up folder? This deletes the empty folders - $doOne
—
Boolean
do one attachment type for real? - $folders_to_ignore
—
Array
Names of folders to ignore - $forReal
—
Boolean
is this task running 'for real' or as test only? - $listOfIgnoreFoldersArray
—
array
automatically includes any child folders - $summaryOnly
—
Boolean
only show the summary OR the full details summaries only is not available for non-test tasks
protected
- $description
- $title