WizardPage
WizardPage PHP Methods
static addPosCont(\WMT\Container $container, \WMT\SQL\PageCreator\Wizard $wizard, int $pos, int $i, array $posCont, int &$editCount, string &$classAddCont, int $cpID, int $memberscanedit) v5
Add new position content
PARAMETERS:
$container = object
$wizard = object
$pos = int, position number
$i = int, position count
$posCont = array, position content as an array
$editCount = int, Edit position count
$classAddCont = string, Position content class
$cpID = int, Capture page ID
$memberscanedit = int, 1=> to allow members to edit the new position | 0 otherwise
RETURN VALUE:
voidstatic checkLibraryImage(\WMT\Container $container, string $bgName, string $bgExt) v5
Checks if an image exists in background images library. throws an error if the image doesn't exist.
PARAMETERS:
$container = object
$bgName = string, background file name
$bgExt = string, background file extension
RETURN VALUE:
voidstatic convertPos(string $html, array $posCont) v5
Convert tilde codes in $html using the position content
PARAMETERS:
$html = string, Page content
$posCont = array, Position contents array
RETURN VALUE:
string = Page content after converting the tilde codesstatic createDefaultImage(\WMT\Container $container, \WMT\SQL\Page\Page $page, array $addPagesArr, string $imageName) v5
Create default thumbnail image for the wizard page
PARAMETERS:
$container = object
$page = object
$addPagesArr = array, List of added pages
$imageName = string, Image file name and the extension
RETURN VALUE:
voidstatic createThumbnail(\WMT\Container $container, \WMT\SQL\Page\Page $page, $wizard, array $addPagesArr) v5
Creates a page thumbnail for a wizard page
PARAMETERS:
$container = object
$page = object
$wizard = object
$addPagesArr = array, List of pages
RETURN VALUE:
voidstatic getBackgroundImageCSS(\WMT\Container $container, $wizard) v5
Gets wizard page background image CSS content
PARAMETERS:
$container = object
$wizard = object
RETURN VALUE:
string = wizard page background image CSS contentstatic getBackgroundLibraryHTML(\WMT\Container $container) v5
Gets list of wizard page background images
PARAMETERS:
$container = object
RETURN VALUE:
string = list of wizard page background images as HTMLstatic getBackgroundSize($wizard) v5
Gets wizard page background size type
PARAMETERS:
$wizard = object
RETURN VALUE:
string = wizard page background size typestatic getBackgroundSizeCSS($wizard) v5
Gets wizard background size CSS
PARAMETERS:
$wizard = object
RETURN VALUE:
string = wizard background size CSSstatic getBorderSizeCSS($wizard) v5
Gets wizard page border size CSS content
PARAMETERS:
$wizard = object
RETURN VALUE:
string = wizard page border size CSS contentstatic getButtonHTML(\WMT\Container $container, $wizard, \WMT\SQL\Visit\Visitor $visitor, int $pageContentID) v5
Gets capture form button content as HTML
PARAMETERS:
$container = object
$wizard = object
$visitor = object
$pageContentID = int, Page editable content ID
RETURN VALUE:
string = capture form button content as HTMLstatic getButtonHTML(\WMT\Container $container, $wizard, \WMT\SQL\Visit\Visitor $visitor, int $pageContentID) v5
Gets capture form button content as HTML
PARAMETERS:
$container = object
$wizard = object
$visitor = object
$pageContentID = int, Page editable content ID
RETURN VALUE:
string = capture form button content as HTMLstatic getButtonsHTML(\WMT\Container $container) v5
Gets list of wizard page capture form buttons (Images)
PARAMETERS:
$container = object
RETURN VALUE:
string = list of wizard page capture form buttons (Images) as HTMLstatic getCapturePageCSS($wizard, int $red, int $green, int $black, string $borderT) v5
Gets capture page CSS content
PARAMETERS:
$wizard = object
$red = int, Wizard page wrapper background red color value
$green = int, Wizard page wrapper background green color value
$black = int, Wizard page wrapper background blue color value
$borderT = string, Wizard page wrapper border value
RETURN VALUE:
string = capture page CSS contentstatic getCustomButtonCSS($wizard, int $pageContentID) v5
Get form custom button HTML content
PARAMETERS:
$wizard = object
$pageContentID = int, Page content ID for the form
RETURN VALUE:
string = form custom button HTML contentstatic getCustomButtonCSSAll($wizard, int $pageContentID, int $inputCount) v5
Gets custom css button as HTML
PARAMETERS:
$wizard = object
$pageContentID = int, Page content ID
$inputCount = int, input count
RETURN VALUE:
string = custom css button as HTMLstatic getDefaultValues(string $siteURL) v5
Get wizard page settings default values
PARAMETERS:
$siteURL = string, Site URL
RETURN VALUE:
array = wizard page settings default valuesstatic getDynamicTopHTML(\WMT\SQL\PageCreator\Wizard $wizard, string $vAlign) v5
Gets page dynamic content
PARAMETERS:
$wizard = object
$vAlign = string, Vertical align value
RETURN VALUE:
string = page dynamic contentstatic getEditableSectionContent(\WMT\Container $container, \WMT\SQL\PageCreator\Wizard $wizard, \WMT\SQL\Page\Page $page, int $pos, int $membersCanEdit, array &$posCont, int &$editCount, string $prepend = "") v5
Get editable section HTML content for a wizard page
PARAMETERS:
$container = object
$wizard = object
$page = object
$pos = int, Editable section position
$membersCanEdit = int, Members can edit status for the editable content. 1=> if members are allowed to edit | 0 => members are not allowed to edit
$posCont = array, Array of editable section position content
$editCount = int, Count of editable sections
$prepend = string, prepend an editable section
RETURN VALUE:
string = editable section HTML content for a wizard pagestatic getFormInputCount(\WMT\MySQL $mysqli, int $pageContentID) v5
Gets number of form input fields in a dynamic wizard page
PARAMETERS:
$mysqli = object
$pageContentID = int, Page content ID
RETURN VALUE:
int = number of form input fields in a dynamic wizard pagestatic getFormInputCount(\WMT\MySQL $mysqli, int $pageContentID) v5
Gets number of form input fields in a dynamic wizard page
PARAMETERS:
$mysqli = object
$pageContentID = int, Page content ID
RETURN VALUE:
int = number of form input fields in a dynamic wizard pagestatic getHead(\WMT\Container $container, \WMT\SQL\PageCreator\Wizard $wizard, int $pageContentID, string $marginCSS, string $classAddMediaSmall) v5
Gets wizard page head content as HTML
PARAMETERS:
$container = object
$wizard = object
$pageContentID = int, Page editable content ID
$marginCSS = string, Margin value
$classAddMediaSmall = string, CSS media queries
RETURN VALUE:
string = wizard page head content as HTMLstatic getHead(\WMT\Container $container, \WMT\SQL\PageCreator\Wizard $wizard, int $pageContentID, string $marginCSS, string $classAddMediaSmall) v5
Gets wizard page head content as HTML
PARAMETERS:
$container = object
$wizard = object
$pageContentID = int, Page editable content ID
$marginCSS = string, Margin value
$classAddMediaSmall = string, CSS media queries
RETURN VALUE:
string = wizard page head content as HTMLstatic getHorizontalCSS($wizard, string $classAddMediaSmall) v5
Gets horizontal form CSS content
PARAMETERS:
$wizard = object
$classAddMediaSmall = string, CSS query for the horizontal form css
RETURN VALUE:
string = horizontal form CSS contentstatic getInitialCSS($wizard) v5
Gets wizard page initial CSS
PARAMETERS:
$wizard = object
RETURN VALUE:
string = wizard page initial CSSstatic getLandingPageCSS($wizard, int $red, int $green, int $black, string $borderT) v5
Gets landing page CSS content
PARAMETERS:
$wizard = object
$red = int, Landing page wrapper background red value
$green = int, Landing page wrapper background green value
$black = int, Landing page wrapper background blue value
$borderT = string, Landing page wrapper border value
RETURN VALUE:
string = landing page CSS contentstatic getLoadInputJS(\WMT\SQL\PageCreator\Wizard $wizard, string $field) v5
Gets load capture form javascript
PARAMETERS:
$wizard = object
$field = string, Field name
RETURN VALUE:
string = load capture form javascriptstatic getMarginCSS($wizard, string $marginTop, string $marginBottom) v5
Gets wizard page content margin CSS
PARAMETERS:
$wizard = object
$marginTop = string, Margin top value
$marginBottom = string, Margin bottom value
RETURN VALUE:
string = wizard page content margin CSSstatic getPageType($wizard) v5
Gets wizard page type
PARAMETERS:
$wizard = object
RETURN VALUE:
int = Wizard page type numberstatic getPos5CSS(\WMT\Container $container, array &$posCont, string $prepend = "") v5
Gets wizard position 5 CSS content
PARAMETERS:
$container = object
$posCont = array, Position content array
$prepend = string, Wizard field name prepend value
RETURN VALUE:
string = wizard position 5 CSS contentstatic getPos6CSS(\WMT\Container $container, array &$posCont, string $prepend = "") v5
Gets page position 6 CSS content
PARAMETERS:
$container = object
$posCont = Array, Positions content as an array
$prepend = string, Wizard field name prepend value
RETURN VALUE:
string = page position 6 CSS contentstatic getPosSideCSS(\WMT\Container $container, \WMT\SQL\PageCreator\Wizard $wizard, int $pos, array &$posCont, string $prepend = "") v5
Gets wizard page step CSS content
PARAMETERS:
$container = object
$wizard = object
$pos = int, Editable section position
$posCont = array, Position content as an array
$prepend = string, Wizard field prepend value
RETURN VALUE:
string = wizard page step CSS contentstatic getStep2Head(\WMT\SQL\PageCreator\Wizard $wizard) v5
Get wizard page step2 head HTML content
PARAMETERS:
$wizard = object
RETURN VALUE:
string = wizard page step2 head HTML contentstatic getStep3Head(\WMT\SQL\PageCreator\Wizard $wizard) v5
Get wizard page step3 head HTML content
PARAMETERS:
$wizard = object
RETURN VALUE:
string = wizard page step3 head HTML contentstatic getStep4Head() v5
Get wizard page step4 head HTML content
PARAMETERS:
NONE
RETURN VALUE:
string = wizard page step4 head HTML contentstatic getStep5Head(\WMT\SQL\PageCreator\Wizard $wizard, string &$stepCont) v5
Gets wizard page step5 head HTML content
PARAMETERS:
$wizard = object
$stepCont = string, step content
RETURN VALUE:
string = wizard page step5 head HTML contentstatic getStep5HTML(\WMT\Container $container, $wizard) v5
Gets wizard step5 HTML content
PARAMETERS:
$container = object
$wizard = object
RETURN VALUE:
string = wizard step5 HTML contentstatic insertAdditionalFields(\WMT\Builder\Page $pageBuilder, $wizard, int $pageContentID) v5
Add custom form field to the capture form
PARAMETERS:
$pageBuilder = object
$wizard = object
$pageContentID = int, Page content ID
RETURN VALUE:
voidstatic insertFormPageContent(\WMT\Container $container, \WMT\SQL\PageCreator\Wizard $wizard, \WMT\SQL\Page\Page $page, \WMT\SQL\Visit\Visitor $visitor, bool $membersCanEdit, int $editCount) v5
Insert form editable content on a wizard page
PARAMETERS:
$container = object
$wizard = object
$page = object
$visitor = object
$membersCanEdit = bool, True to allow members to edit the editable section | false otherwise
$editCount = int, Editable sections count
RETURN VALUE:
int = Page editable content IDstatic insertFormPageContent(\WMT\Container $container, \WMT\SQL\PageCreator\Wizard $wizard, \WMT\SQL\Page\Page $page, \WMT\SQL\Visit\Visitor $visitor, bool $membersCanEdit, int $editCount) v5
Insert form editable content on a wizard page
PARAMETERS:
$container = object
$wizard = object
$page = object
$visitor = object
$membersCanEdit = bool, True to allow members to edit the editable section | false otherwise
$editCount = int, Editable sections count
RETURN VALUE:
int = Page editable content IDstatic insertPageContent(\WMT\Container $container, \WMT\SQL\Page\Page $page, string $headCont, string $classAddCont, int $editCount, bool $membersCanEdit, string $prepend = "") v5
Inserts a page content editable section to a dynamic wizard page
PARAMETERS:
$container = object
$page = object
$headCont = string, Head section contents
$classAddCont = string, Section class content
$editCount = int, Editable sections count
$membersCanEdit = bool, True to allow members to edit the new editable section | False to disallow editing
$prepend = string, Settings input field name attribute prepend value
RETURN VALUE:
voidstatic insertPageContent(\WMT\Container $container, \WMT\SQL\Page\Page $page, string $headCont, string $classAddCont, int $editCount, bool $membersCanEdit, string $prepend = "") v5
Inserts a page content editable section to a dynamic wizard page
PARAMETERS:
$container = object
$page = object
$headCont = string, Head section contents
$classAddCont = string, Section class content
$editCount = int, Editable sections count
$membersCanEdit = bool, True to allow members to edit the new editable section | False to disallow editing
$prepend = string, Settings input field name attribute prepend value
RETURN VALUE:
voidstatic insertPageForm(\WMT\MySQL $mysqli, \WMT\SQL\PageCreator\Wizard $wizard, string $fieldName, string $fieldTitle, int $fieldID, int $pageContentID) v5
Insert a form field to a dynamic form on a wizard page
PARAMETERS:
$mysqli = object
$wizard = object
$fieldName = string, Field name attribute
$fieldTitle = string, Field title (label)
$fieldID = int, Field id attribute
$pageContentID = int, Page content ID
RETURN VALUE:
voidstatic insertPageForm(\WMT\MySQL $mysqli, \WMT\SQL\PageCreator\Wizard $wizard, string $fieldName, string $fieldTitle, int $fieldID, int $pageContentID) v5
Insert a form field to a dynamic form on a wizard page
PARAMETERS:
$mysqli = object
$wizard = object
$fieldName = string, Field name attribute
$fieldTitle = string, Field title (label)
$fieldID = int, Field id attribute
$pageContentID = int, Page content ID
RETURN VALUE:
voidstatic insertVideo(\WMT\MySQL $mysqli, $wizard, \WMT\SQL\Page\Page $page, int &$editCount, array &$posCont, int $memberscanedit) v5
Insert a video editable section to a wizard page
PARAMETERS:
$mysqli = object
$wizard = object
$page = object
$editCount = int, Number of editable contents
$posCont = array, Position content as an array
$memberscanedit = int, 1 => to allow members to edit the video section | 0 => disallow members to edit the video section
RETURN VALUE:
voidstatic setButtonLinks(\WMT\Container $container, $wizard, \WMT\SQL\Visit\Visitor $visitor, int $pPageNum, array &$posCont) v5
Sets capture form button content
PARAMETERS:
$container = object
$wizard = object
$visitor = object
$pPageNum = int, Page number
$posCont = array, Position content arraystatic setButtonLinks(\WMT\Container $container, $wizard, \WMT\SQL\Visit\Visitor $visitor, int $pPageNum, array &$posCont) v5
Sets capture form button content
PARAMETERS:
$container = object
$wizard = object
$visitor = object
$pPageNum = int, Page number
$posCont = array, Position content arraystatic uploadBackgroundImage(\WMT\Container $container, $wizard, \WMT\SQL\Visit\Visitor $visitor) v5
Uploads a new background image for the wizard back
PARAMETERS:
$container = object
$wizard = object
$visitor = object
RETURN VALUE:
voidstatic uploadMP3(\WMT\Container $container, \WMT\SQL\Visit\Visitor $visitor, array &$posCont, $prepend = "") v5
Uploads an mp3 file to the wizard page
PARAMETERS:
$container = object
$visitor = object
$posCont = array, Position contents array
$prepend = string, Settings input field name attribute prepend value
RETURN VALUE:
voidWizardPage PHP Variables
🔎︎ %l4610%