OXID eShop CE
4.8.10
|
Public Attributes | |
$sClassDo = "" | |
$sClassMain = "" | |
$sExportPath = "export/" | |
$sExportFileType = "txt" | |
$sExportFileName = "dynexport" | |
$fpFile = null | |
$iExportPerTick = 30 |
Protected Member Functions | |
_unHtmlEntities ($sInput) | |
_getHeapTableName () | |
_generateTableCharSet ($sMysqlVersion) | |
_createHeapTable ($sHeapTable, $sTableCharset) | |
_getCatAdd ($aChosenCat) | |
_insertArticles ($sHeapTable, $sCatAdd) | |
_removeParentArticles ($sHeapTable) | |
_setSessionParams () | |
_loadRootCats () | |
_findDeepestCatPath ($oArticle) | |
_initArticle ($sHeapTable, $iCnt, &$blContinue) | |
_setCampaignDetailLink ($oArticle) | |
Protected Member Functions inherited from oxAdminDetails | |
_getTextEditor ($iWidth, $iHeight, $oObject, $sField, $sStylesheet=null) | |
_getEditValue ($oObject, $sField) | |
_processEditValue ($sValue) | |
_getPlainEditor ($iWidth, $iHeight, $oObject, $sField) | |
_generateTextEditor ($iWidth, $iHeight, $oObject, $sField, $sStylesheet=null) | |
_createCategoryTree ($sTplVarName, $sEditCatId= '', $blForceNonCache=false, $iTreeShopId=null) | |
_getCategoryTree ($sTplVarName, $sSelectedCatId, $sEditCatId= '', $blForceNonCache=false, $iTreeShopId=null) | |
_setupNavigation ($sNode) | |
_resetCounts ($aIds) | |
Protected Member Functions inherited from oxAdminView | |
_getEditShop ($sShopId) | |
_getServiceProtocol () | |
_getShopVersionNr () | |
_addNavigationHistory ($sNode) | |
_getMaxUploadFileInfo ($iMaxFileSize, $blFormatted=false) | |
_allowAdminEdit ($sUserId) | |
_getCountryByCode ($sCountryCode) | |
_authorize () | |
Protected Member Functions inherited from oxView | |
_executeNewAction ($sNewAction) |
Protected Attributes | |
$_iExportPerTick = null | |
$_sFilePath = null | |
$_aExportResultset = array() | |
$_sThisTemplate = "dynexportbase.tpl" | |
$_aCatLvlCache = null | |
Protected Attributes inherited from oxAdminDetails | |
$_oEditor = null | |
Protected Attributes inherited from oxAdminView | |
$_aSumType | |
$_sThisTemplate = null | |
$_iDefEdit = 0 | |
$_iEditLang = 0 | |
$_sShopTitle = " - " | |
$_sShopVersion = null | |
$_sServiceUrl = null | |
$_oEditShop = null | |
$_sEditObjectId = null | |
Protected Attributes inherited from oxView | |
$_aViewData = array() | |
$_sClassLocation = null | |
$_sThisAction = null | |
$_oParent = null | |
$_blIsComponent = false | |
$_sThisTemplate = null | |
$_sViewId = null | |
$_sClass = null | |
$_sFnc = null | |
$_sTrustedShopId = null | |
$_sTSExcellenceId = null | |
$_sCharSet = null | |
$_sVersion = null | |
$_blDemoVersion = null | |
$_blDemoShop = null | |
$_iNewsStatus = null | |
$_sShopLogo = null | |
$_sCategoryId = null | |
$_oClickCat = null | |
$_blIsCallForCache = false | |
$_oViewConf = null |
Additional Inherited Members | |
Static Protected Attributes inherited from oxAdminView | |
static | $_oNaviTree = null |
static | $_sAuthUserRights = null |
DynExportBase framework class encapsulating a method for defining implementation class. Performs export function according to user chosen categories. dyn
Definition at line 15 of file dynexportbase.php.
DynExportBase::__construct | ( | ) |
Calls parent costructor and initializes $this->_sFilePath parameter
Reimplemented from oxAdminView.
Reimplemented in VoucherSerie_Export.
Definition at line 107 of file dynexportbase.php.
|
protected |
creates heaptable
string | $sHeapTable | table name |
string | $sTableCharset | table charset |
Definition at line 591 of file dynexportbase.php.
|
protected |
finds deepest category path
oxarticle | $oArticle | article object |
Definition at line 829 of file dynexportbase.php.
|
protected |
generates table charset
string | $sMysqlVersion | MySql version |
Definition at line 564 of file dynexportbase.php.
|
protected |
creates additional cat string
array | $aChosenCat | Selected category array |
Definition at line 612 of file dynexportbase.php.
|
protected |
|
protected |
initialize article
string | $sHeapTable | heap table name |
int | $iCnt | record number |
bool | &$blContinue | false is used to stop exporting |
Definition at line 869 of file dynexportbase.php.
|
protected |
inserts articles into heaptable
string | $sHeapTable | heap table name |
string | $sCatAdd | category id filter (part of sql) |
Definition at line 639 of file dynexportbase.php.
|
protected |
|
protected |
removes parent articles so that we only have variants itself
string | $sHeapTable | table name |
Definition at line 697 of file dynexportbase.php.
|
protected |
sets detail link for campaigns
oxarticle | $oArticle | article object |
Definition at line 905 of file dynexportbase.php.
|
protected |
|
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 540 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 520 of file dynexportbase.php.
DynExportBase::createMainExportView | ( | ) |
Prepares and fill all data which all the dyn exports needs
Definition at line 142 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 347 of file dynexportbase.php.
DynExportBase::getDeepestCategoryPath | ( | $oArticle | ) |
Searches for deepest path to a categorie this article is assigned to
oxarticle | $oArticle | article object |
Definition at line 445 of file dynexportbase.php.
DynExportBase::getDefaultCategoryString | ( | $oArticle | ) |
Loads article default category
oxarticle | $oArticle | Article object |
Definition at line 392 of file dynexportbase.php.
DynExportBase::getExportPerTick | ( | ) |
Returns how many articles should be exported per tick
Definition at line 266 of file dynexportbase.php.
DynExportBase::getOneArticle | ( | $iCnt, | |
& | $blContinue | ||
) |
get's one oxid for exporting
integer | $iCnt | counter |
bool | &$blContinue | false is used to stop exporting |
Definition at line 491 of file dynexportbase.php.
DynExportBase::getViewId | ( | ) |
Returns view id ('dyn_interface')
Reimplemented from oxAdminView.
Reimplemented in VoucherSerie_Main.
Definition at line 926 of file dynexportbase.php.
DynExportBase::nextTick | ( | $iCnt | ) |
virtual function must be overloaded
integer | $iCnt | counter |
Reimplemented in VoucherSerie_Generate, and GenExport_Do.
Definition at line 204 of file dynexportbase.php.
DynExportBase::prepareCSV | ( | $sInput | ) |
Converts field for CSV
string | $sInput | input to process |
Definition at line 414 of file dynexportbase.php.
DynExportBase::prepareExport | ( | ) |
create export resultset
Reimplemented in VoucherSerie_Main.
Definition at line 455 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 427 of file dynexportbase.php.
DynExportBase::removeSid | ( | $sInput | ) |
Removes Session ID from $sInput
string | $sInput | Input to process |
Definition at line 296 of file dynexportbase.php.
DynExportBase::render | ( | ) |
Calls parent rendering methods, sends implementation class names to template and returns default template name
Reimplemented from oxAdminDetails.
Reimplemented in VoucherSerie_Main, and GenExport_Main.
Definition at line 121 of file dynexportbase.php.
DynExportBase::run | ( | ) |
Does Export
Reimplemented in VoucherSerie_Export, and VoucherSerie_Generate.
Definition at line 228 of file dynexportbase.php.
DynExportBase::setExportPerTick | ( | $iCount | ) |
Sets how many articles should be exported per tick
int | $iCount | articles count per tick |
Definition at line 284 of file dynexportbase.php.
DynExportBase::shrink | ( | $sInput, | |
$iMaxSize, | |||
$blRemoveNewline = true |
|||
) |
Removes tags, shortens a string to $iMaxSize adding "..."
string | $sInput | input to process |
integer | $iMaxSize | maximum output size |
bool | $blRemoveNewline | if true - and will be replaced by " " |
Definition at line 319 of file dynexportbase.php.
DynExportBase::start | ( | ) |
Prepares Export
Reimplemented in VoucherSerie_Main.
Definition at line 161 of file dynexportbase.php.
DynExportBase::stop | ( | $iError = 0 | ) |
Stops Export
integer | $iError | error number |
Definition at line 187 of file dynexportbase.php.
DynExportBase::write | ( | $sLine | ) |
writes one line into open export file
string | $sLine | exported line |
Reimplemented in VoucherSerie_Export, and GenExport_Do.
Definition at line 216 of file dynexportbase.php.
|
protected |
Definition at line 100 of file dynexportbase.php.
|
protected |
Definition at line 86 of file dynexportbase.php.
|
protected |
Definition at line 72 of file dynexportbase.php.
|
protected |
Definition at line 79 of file dynexportbase.php.
|
protected |
Definition at line 93 of file dynexportbase.php.
DynExportBase::$fpFile = null |
Definition at line 57 of file dynexportbase.php.
DynExportBase::$iExportPerTick = 30 |
Definition at line 65 of file dynexportbase.php.
DynExportBase::$sClassDo = "" |
Definition at line 22 of file dynexportbase.php.
DynExportBase::$sClassMain = "" |
Definition at line 29 of file dynexportbase.php.
DynExportBase::$sExportFileName = "dynexport" |
Definition at line 50 of file dynexportbase.php.
DynExportBase::$sExportFileType = "txt" |
Definition at line 43 of file dynexportbase.php.
DynExportBase::$sExportPath = "export/" |
Definition at line 36 of file dynexportbase.php.