Version: current

# Class ConvertFrom26Task

Interface for a generic build task. Does not support dependencies. This will simply run a chunk of code when called.

To disable the task (in the case of potentially destructive updates or deletes), declare the $Disabled property on the subclass.

  Object
  BuildTask
  ConvertFrom26Task

Package: sapphire\dev
Located at convert26/code/ConvertFrom26Task.php

## Methods summary

`public static` | # `base_dir( )`
`public static` | # `correct_url_segment( mixed $url )`
`public` | # `run( mixed $request )` Implement this method in the task subclass to execute via the TaskRunner Implement this method in the task subclass to execute via the TaskRunner
`public` | # `importOrders( )`
`public` | # `importOrder( mixed $order )`
`public` | # `importOrderItem( mixed $orderItem )`
`public` | # `importPageWithChildren( mixed $page, mixed $parentID = 0 )`
`public` | # `importDocPage( mixed $page, mixed $parentID )`
`public` | # `importPhotoGallery( mixed $page, mixed $parentID )`
`public` | # `importPhotoAlbum( mixed $page, mixed $newPageID )`
`public` | # `importAlbumImages( mixed $page, mixed $album )`
`public` | # `importNews( mixed $page, mixed $parentID )`
`public` | # `importNewsEnries( mixed $page, mixed $newNewsHolderID )`
`public` | # `importEvents( mixed $page, mixed $parentID )`
`public` | # `importCalendarEnries( mixed $page, mixed $newCalendarID )`
`public` | # `importPublications( mixed $page, mixed $parentID )`
`public` | # `importPublicationHolder( mixed $page, mixed $parentID, mixed $prevPage = false )`
`public` | # `importPublHolderEnries( mixed $page, mixed $parentID )`
`public` | # `importFAQ( mixed $page, mixed $parentID )`
`public` | # `importFAQSections( mixed $page, mixed $parentID )`
`public` | # `importFaqQuestion( mixed $page, mixed $parentID )`
`public` | # `importCatalog( mixed $page, mixed $parentID )`
`public` | # `createCatalog( mixed $page, mixed $parentID )`
`public` | # `importCatalogProducts( mixed $page, mixed $parentID )`
`public` | # `importGuestbook( )`
`public` | # `importAnnouncement( )`
`public` | # `findOrMakeAnnouncementHolder( mixed $number )`
`public` | # `importSiteUsers( mixed $adm = false )`
`public` | # `importLinkedImages( mixed $page, mixed $newPage, mixed $type )`
`public` | # `importLinkedFiles( mixed $page, mixed $newPage, mixed $type )`
`public` | # `importForms( )`
`public` | # `importImageLibrary( )`
`public` | # `importImageLibraryBranch( mixed $folder, mixed $parentID )`
`public` | # `findOrMakeFolder( mixed $folder, mixed $parentID )`
`public` | # `importFolderImages( mixed $folderID, mixed $newFolderID )`
`public` | # `importFileLibrary( )`
`public` | # `importFileLibraryBranch( mixed $folder, mixed $parentID )`
`public` | # `importFolderFiles( mixed $folderID, mixed $newFolderID )`
`public` | # `correctPathInContent( mixed $content, mixed $newPage = false )`
`public` | # `correctFileLinks( mixed $content, mixed $newPage )`
`public` | # `correctImageLinks( mixed $content, mixed $newPage )`
`public` | # `correctInternalLinks( mixed $content )`
`public` | # `generatePassword( mixed $length = 8 )`
`public` | # `checkMySQLTableExists( mixed $table )`
`public` | # `getSpecCatalog( mixed $title )`
`public` | # `changeFileFolder( mixed $file, mixed $page )`
`public` | # `correctImageFolders( )`
`public` | # `correctFileFolders( )`
`public` | # `getAbsoluteOldPath( mixed $pageID )`

### Methods inherited from BuildTask

`getDescription()`, `getTitle()`, `isEnabled()`

### Methods inherited from Object

`__call()`, `__construct()`, `__toString()`, `__wakeup()`, `addMethodsFrom()`, `addStaticVars()`, `addWrapperMethod()`, `add_extension()`, `add_static_var()`, `allMethodNames()`, `cacheToFile()`, `cacheToFileWithArgs()`, `clearCache()`, `combined_static()`, `create()`, `createMethod()`, `create_from_string()`, `defineMethods()`, `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

`public static string` | $dbSuffix | #
`public static string` | $fileSuffix | #
`public static boolean` | $debug | #
`public static array` | $imageExtensions | # Типы изображений webylon 2.6 Типы изображений webylon 2.6
`public static array` | $fileExtensions | # Типы файлов webylon 2.6 Типы файлов webylon 2.6
`public static array` | $attachedGalleryParams | #
`public static array` | $orderStatuses | #
`public static array` | $paymentMethod | #

### Properties inherited from BuildTask

`$description`, `$enabled`, `$title`

### Properties inherited from Object

`$class`, `$extension_instances`, `$extensions`

[Raise a SilverStripe Framework issue/bug](https://github.com/silverstripe/silverstripe-framework/issues/new)
- [Raise a SilverStripe CMS issue/bug](https://github.com/silverstripe/silverstripe-cms/issues/new)
- Please use the Silverstripe Forums to ask development related questions. -