

Definition at line 16 of file dynexportbase.php.
Public Member Functions | |
| __construct () | |
| render () | |
| createMainExportView () | |
| start () | |
| stop ($iError=0) | |
| nextTick ($iCnt) | |
| write ($sLine) | |
| run () | |
| removeSID ($sInput) | |
| shrink ($sInput, $iMaxSize, $blRemoveNewline=true) | |
| getCategoryString (&$oArticle, $sSeparator="/") | |
| getDefaultCategoryString ($oArticle) | |
| prepareCSV ($sInput) | |
| prepareXML ($sInput) | |
| getDeepestCategoryPath (&$oArticle) | |
| prepareExport () | |
| getOneArticle ($iCnt, &$blContinue) | |
| assureContent ($sInput, $sReplace=null) | |
| getViewId () | |
Public Attributes | |
| $sClass_do = "" | |
| $sClass_main = "" | |
| $sExportPath = "export/" | |
| $sExportFileType = "txt" | |
| $sExportFileName = "dynexport" | |
| $fpFile = null | |
| $iExportPerTick = 30 | |
Protected Member Functions | |
| _unHTMLEntities ($sInput) | |
| _getHeapTableName () | |
Protected Attributes | |
| $_sFilePath = null | |
| $_aExportResultset = array() | |
| $_sThisTemplate = "dynexportbase.tpl" | |
Private Member Functions | |
| _generateTableCharSet ($sMysqlVersion) | |
| _createHeapTable ($sHeapTable, $sTableCharset) | |
| _getCatAdd ($aChosenCat) | |
| _insertArticles ($sHeapTable, $sCatAdd) | |
| _removeParentArticles ($sHeapTable) | |
| _setSessionParams () | |
| _loadRootCats () | |
| _findDeepestCatPath ($oArticle) | |
| _initArticle ($sHeapTable, $iCnt) | |
| _setCampaignDetailLink ($oArticle) | |
| DynExportBase.__construct | ( | ) |
| DynExportBase.render | ( | ) |
Calls parent rendering methods, sends implementation class names to template and returns default template name
Reimplemented from oxAdminDetails.
Reimplemented in GenExport_Main.
Definition at line 54 of file dynexportbase.php.
| DynExportBase.createMainExportView | ( | ) |
Prepares and fill all data which all the dyn exports needs
Definition at line 75 of file dynexportbase.php.
| DynExportBase.start | ( | ) |
| DynExportBase.stop | ( | $ | iError = 0 |
) |
Stops Export
| integer | $iError |
Definition at line 133 of file dynexportbase.php.
| DynExportBase.nextTick | ( | $ | iCnt | ) |
virtual function must be overloaded
| integer | $iCnt counter |
Reimplemented in GenExport_Do.
Definition at line 151 of file dynexportbase.php.
| DynExportBase.write | ( | $ | sLine | ) |
writes one line into open export file
| string | $sLine exported line |
Reimplemented in GenExport_Do.
Definition at line 163 of file dynexportbase.php.
| DynExportBase.run | ( | ) |
| DynExportBase.removeSID | ( | $ | sInput | ) |
Removes Session ID from $sInput
| string | $sInput |
Definition at line 216 of file dynexportbase.php.
| DynExportBase.shrink | ( | $ | sInput, | |
| $ | iMaxSize, | |||
| $ | blRemoveNewline = true | |||
| ) |
Shortens a string to $iMaxSize adding "..."
| string | $sInput | |
| integer | $iMaxSize | |
| bool | $blRemoveNewline |
Definition at line 240 of file dynexportbase.php.
| DynExportBase.getCategoryString | ( | &$ | oArticle, | |
| $ | sSeparator = "/" | |||
| ) |
Loads all article parent categories and returns titles separated by "/"
| object | &$oArticle Article object | |
| string | $sSeparator separator (default "/") |
Definition at line 269 of file dynexportbase.php.
| DynExportBase.getDefaultCategoryString | ( | $ | oArticle | ) |
Loads article default category
| object | $oArticle Article object |
Definition at line 312 of file dynexportbase.php.
| DynExportBase.prepareCSV | ( | $ | sInput | ) |
Converts field for CSV
| string | $sInput |
Definition at line 336 of file dynexportbase.php.
| DynExportBase.prepareXML | ( | $ | sInput | ) |
Changes special chars to be XML compatible
| string | $sInput string which have to be changed |
Definition at line 353 of file dynexportbase.php.
| DynExportBase.getDeepestCategoryPath | ( | &$ | oArticle | ) |
Searches for deepest path to a categorie this article is assigned to
| object | &$oArticle article object |
Definition at line 371 of file dynexportbase.php.
| DynExportBase.prepareExport | ( | ) |
| DynExportBase.getOneArticle | ( | $ | iCnt, | |
| &$ | blContinue | |||
| ) |
get's one oxid for exporting
| integer | $iCnt counter | |
| bool | &$blContinue false is used to stop exporting |
Definition at line 435 of file dynexportbase.php.
| DynExportBase.assureContent | ( | $ | sInput, | |
| $ | sReplace = null | |||
| ) |
Make sure that string is never empty.
| string | $sInput string that will be replaced | |
| string | $sReplace string that will replace |
Definition at line 470 of file dynexportbase.php.
| DynExportBase._unHTMLEntities | ( | $ | sInput | ) | [protected] |
Replace HTML Entities Replacement for html_entity_decode which is only available from PHP 4.3.0 onj
| string | $sInput string to replace |
Definition at line 489 of file dynexportbase.php.
| DynExportBase._getHeapTableName | ( | ) | [protected] |
| DynExportBase._generateTableCharSet | ( | $ | sMysqlVersion | ) | [private] |
generates table charset
| string | $sMysqlVersion MySql version |
Definition at line 519 of file dynexportbase.php.
| DynExportBase._createHeapTable | ( | $ | sHeapTable, | |
| $ | sTableCharset | |||
| ) | [private] |
creates heaptable
| string | $sHeapTable table name | |
| string | $sTableCharset table charset |
Definition at line 554 of file dynexportbase.php.
| DynExportBase._getCatAdd | ( | $ | aChosenCat | ) | [private] |
creates additional cat string
| array | $aChosenCat |
Definition at line 577 of file dynexportbase.php.
| DynExportBase._insertArticles | ( | $ | sHeapTable, | |
| $ | sCatAdd | |||
| ) | [private] |
inserts articles into heaptable
| string | $sHeapTable | |
| string | $sCatAdd |
Definition at line 604 of file dynexportbase.php.
| DynExportBase._removeParentArticles | ( | $ | sHeapTable | ) | [private] |
removes parent articles so that we only have variants itself
| string | $sHeapTable table name |
Definition at line 663 of file dynexportbase.php.
| DynExportBase._setSessionParams | ( | ) | [private] |
| DynExportBase._loadRootCats | ( | ) | [private] |
| DynExportBase._findDeepestCatPath | ( | $ | oArticle | ) | [private] |
finds deepest category path
| object | $oArticle article object |
Definition at line 780 of file dynexportbase.php.
| DynExportBase._initArticle | ( | $ | sHeapTable, | |
| $ | iCnt | |||
| ) | [private] |
initialize article
| string | $sHeapTable | |
| int | $iCnt |
Definition at line 818 of file dynexportbase.php.
| DynExportBase._setCampaignDetailLink | ( | $ | oArticle | ) | [private] |
sets detail link for campaigns
| object | $oArticle article object |
Definition at line 864 of file dynexportbase.php.
| DynExportBase.getViewId | ( | ) |
Current view ID getter helps to identify navigation position
Reimplemented from oxAdminView.
Definition at line 885 of file dynexportbase.php.
| DynExportBase.$sClass_do = "" |
Reimplemented in GenExport, GenExport_Do, and GenExport_Main.
Definition at line 18 of file dynexportbase.php.
| DynExportBase.$sClass_main = "" |
Reimplemented in GenExport, GenExport_Do, and GenExport_Main.
Definition at line 19 of file dynexportbase.php.
| DynExportBase.$sExportPath = "export/" |
Definition at line 22 of file dynexportbase.php.
| DynExportBase.$sExportFileType = "txt" |
Definition at line 23 of file dynexportbase.php.
| DynExportBase.$sExportFileName = "dynexport" |
| DynExportBase.$fpFile = null |
Definition at line 25 of file dynexportbase.php.
| DynExportBase.$iExportPerTick = 30 |
Definition at line 26 of file dynexportbase.php.
DynExportBase.$_sFilePath = null [protected] |
Definition at line 29 of file dynexportbase.php.
DynExportBase.$_aExportResultset = array() [protected] |
Definition at line 30 of file dynexportbase.php.
DynExportBase.$_sThisTemplate = "dynexportbase.tpl" [protected] |
Reimplemented from oxAdminView.
Reimplemented in GenExport_Do, and GenExport_Main.
Definition at line 32 of file dynexportbase.php.
1.5.5