This is the code documentation for the SproutCMS project
Search documentation |
class ImportCMS
Extending this class<?php
/**
* New class description goes here
*
* @author Your Name, 2025-11-09
**/
class NewClassName extends ImportCMS {
/**
* Replace file URLs
* FROM: files/1702_icon_joint.small.png
* TO: file/download/1702/small
**/
private function replaceFileUrls (string $html) {
// Method code goes here
}
/**
* Process given XML file into Sprout CMS 3 pages
**/
public function import (string $filename) {
// Method code goes here
}
/**
* Process DOMElement into page record with content
**/
private function processXmlPage (DomElement $page, int $record_order, int $parent_id, int $subsite_id) {
// Method code goes here
}
/**
* Update content for Sprout CMS 3
**/
private function updateContent () {
// Method code goes here
}
/**
* Replace page IDs within page URLS
**/
private function replacePageIds (string $html) {
// Method code goes here
}
/**
* Report pages that contain old widgets
**/
private function findOldWidgets ($rev_id, string $html) {
// Method code goes here
}
}
?>
|
| Powered by Pelzini, version 0.9.0 |
Documentation is made available under the
GNU Free Documentation License 1.2. Generated: Monday, 3rd April, 2023 at 02:59 pm |
|