modules/Studio/parsers/StudioParser.php

Show: inherited
Table of Contents

\StudioParser

Package: SugarCRM

interface for studio parsers

Properties

Propertypublic  $cols= 'array ()'
Default valuearray ()Details
Type
n/a
Propertypublic  $curFile= ''''
Default value''Details
Type
n/a
Propertypublic  $curText= ''''
Default value''Details
Type
n/a
Propertypublic  $curType= ''detail''
Default value'detail'Details
Type
n/a
Propertypublic  $fieldEditor= 'true'
Default valuetrueDetails
Type
n/a
Propertypublic  $form= ''
Details
Type
n/a
Propertypublic  $labelEditor= 'true'
Default valuetrueDetails
Type
n/a
Propertypublic  $oldMatches= 'array()'
Default valuearray()Details
Type
n/a
Propertypublic  $positions= 'array ()'
Default valuearray ()Details
Type
n/a
Propertypublic  $rows= 'array ()'
Default valuearray ()Details
Type
n/a

Methods

methodpublicaddSlotToForm(  $slot_count,  $display_count ) : void

delete:-1 add:2000 swap: 0 - 1999

Parameters
Name Type Description
$slot_count
$display_count
methodpublicbuildImageButtons(  $buttons,  $horizontal = true ) : void

Parameters
Name Type Description
$buttons
$horizontal
methodpubliccacheXTPL(  $file,  $cache_file,  $preview_file = false ) : void

Parameters
Name Type Description
$file
$cache_file
$preview_file
methodpublicclearWorkingDirectory( ) : void

methodpublicdisableInputs(  $str ) : void

STATIC FUNCTION DISABLE INPUTS IN AN HTML STRING

Parameters
Name Type Description
$str
methodpublicenableLabelEditor(  $str ) : void

Parameters
Name Type Description
$str
methodpublicgenerateButtons( ) : void

methodpublicgetFileType(  $type,  $setType = true ) : void

Parameters
Name Type Description
$type
$setType
methodpublicgetFiles(  $module,  $fileId = false ) : void

Parameters
Name Type Description
$module
$fileId
methodpublicgetForm( ) : void

methodpublicgetFormButtons( ) : void

methodpublicgetMaxPosition( ) : void

methodpublicgetParsers(  $file ) : void

Parameters
Name Type Description
$file
methodpublicgetSwapWith(  $value ) : void

Parameters
Name Type Description
$value
methodpublicgetWorkingFile(  $file,  $refresh = false ) : void

Parameters
Name Type Description
$file
$refresh
methodpublichandleSave( ) : void

takes the submited form and parses the file moving the fields around accordingly it also checks if the original file has a matching field and uses that field instead of attempting to generate a new one

methodpublichandleSaveLabels(  $module_name,  $language ) : void

Parameters
Name Type Description
$module_name
$language
methodpublicloadFile(  $file ) : void

Parameters
Name Type Description
$file
methodpublicparse(  $str ) : void

Parameters
Name Type Description
$str
methodpublicparseCols(  $str ) : void

Parameters
Name Type Description
$str
methodpublicparseLabels(  $str ) : void

Parameters
Name Type Description
$str
methodpublicparseNames(  $str ) : void

Parameters
Name Type Description
$str
methodpublicparseOldestFile(  $file ) : void

Parameters
Name Type Description
$file
methodpublicparsePositions(  $str,  $output = false ) : void

Parameters
Name Type Description
$str
$output
methodpublicparseRows(  $str ) : void

Parameters
Name Type Description
$str
methodpublicpopulateRequestFromBuffer(  $file ) : void

Parameters
Name Type Description
$file
methodpublicpositionCount(  $str ) : void

Parameters
Name Type Description
$str
methodpublicprepSlots( ) : void

methodpublicrowCount(  $str ) : void

Parameters
Name Type Description
$str
methodpublicsaveFile(  $file = '',  $contents = false ) : void

Parameters
Name Type Description
$file
$contents
methodpublicupgradeToSmarty( ) : void

UPGRADE TO SMARTY

methodpublicwriteToCache(  $file,  $view,  $preview_file = false ) : void

Parameters
Name Type Description
$file
$view
$preview_file
methodpublicyahooJS( ) : void

Yahoo Drag & Drop Support

Documentation was generated by DocBlox 0.18.1.