PHP Class PugMoRe_Mageploy_Helper_Data

Inheritance: extends Mage_Core_Helper_Abstract
Show file Open project: pug-more/mageploy Class Usage Examples

Protected Properties

Property Type Description
$_io PugMoRe_Mageploy_Model_Io_File

Public Methods

Method Description
disable ( )
enable ( )
getAllActionsCount ( )
getAllActionsFilename ( )
getAttributeCodeFromId ( $attributeId )
getAttributeGroupId ( $attributeSetId, $attributeGroupName )
getAttributeIdFromCode ( $attributeCode, $entityTypeId )
getAttributeSetId ( $attributeSetName, $entityTypeCode )
getAttributeSetIdFromName ( $attributeSetName )
getAttributeSetNameById ( $attributeSetId )
getCategoryIdFromPath ( $path )
getCategoryPathFromUuid ( $uuid, $separator )
getCategoryUuidFromPath ( $path, $append = null, $separator )
getEavEntityAttributeId ( $entityTypeId, $attributeSetId, $attributeGroupId, $attributeId )
getEavEntityAttributeRow ( $entityAttributeId )
getEntityAttribute ( $attributeCode, $groupId )
getEntityTypeCodeFromId ( $entityTypeId )
getEntityTypeIdFromCode ( $entityTypeCode )
getExecutedActionsFilename ( )
getPendingActionsCount ( )
getStoragePath ( )
getUser ( )
getVersion ( type $len = null ) : string Get current Mageploy version from config.xml;
isActive ( )
isAnonymousUser ( )
log ( $msg )
setUser ( string $username ) Set the current user name

Protected Methods

Method Description
_getCategoryFromParentIdAndName ( $parentId, $name )

Private Methods

Method Description
__setActiveFlag ( integer $value ) Set the tracking status;

Method Details

_getCategoryFromParentIdAndName() protected method

protected _getCategoryFromParentIdAndName ( $parentId, $name )

disable() public method

public disable ( )

enable() public method

public enable ( )

getAllActionsCount() public method

public getAllActionsCount ( )

getAllActionsFilename() public method

getAttributeCodeFromId() public method

public getAttributeCodeFromId ( $attributeId )

getAttributeGroupId() public method

public getAttributeGroupId ( $attributeSetId, $attributeGroupName )

getAttributeIdFromCode() public method

public getAttributeIdFromCode ( $attributeCode, $entityTypeId )

getAttributeSetId() public method

public getAttributeSetId ( $attributeSetName, $entityTypeCode )

getAttributeSetIdFromName() public method

public getAttributeSetIdFromName ( $attributeSetName )

getAttributeSetNameById() public method

public getAttributeSetNameById ( $attributeSetId )

getCategoryIdFromPath() public method

public getCategoryIdFromPath ( $path )

getCategoryPathFromUuid() public method

public getCategoryPathFromUuid ( $uuid, $separator )

getCategoryUuidFromPath() public method

public getCategoryUuidFromPath ( $path, $append = null, $separator )

getEavEntityAttributeId() public method

public getEavEntityAttributeId ( $entityTypeId, $attributeSetId, $attributeGroupId, $attributeId )

getEavEntityAttributeRow() public method

public getEavEntityAttributeRow ( $entityAttributeId )

getEntityAttribute() public method

public getEntityAttribute ( $attributeCode, $groupId )

getEntityTypeCodeFromId() public method

public getEntityTypeCodeFromId ( $entityTypeId )

getEntityTypeIdFromCode() public method

public getEntityTypeIdFromCode ( $entityTypeCode )

getExecutedActionsFilename() public method

getPendingActionsCount() public method

getStoragePath() public method

public getStoragePath ( )

getUser() public method

public getUser ( )

getVersion() public method

Get current Mageploy version from config.xml;
public getVersion ( type $len = null ) : string
$len type if a value is passed, return a portion of the version numbers counting from the first one up to $len
return string

isActive() public method

public isActive ( )

isAnonymousUser() public method

public isAnonymousUser ( )

log() public method

public log ( $msg )

setUser() public method

Set the current user name
public setUser ( string $username )
$username string

Property Details

$_io protected property

protected PugMoRe_Mageploy_Model_Io_File $_io
return PugMoRe_Mageploy_Model_Io_File