Overview

Namespaces

  • None
  • PHP

Classes

  • Eabi_DpdEE_Block_Adminhtml_Config_Form_Field_Country
  • Eabi_DpdEE_Block_Info_Payment
  • Eabi_DpdEE_Block_Invoice
  • Eabi_DpdEE_Block_Order_Courier
  • Eabi_DpdEE_Helper_Data
  • Eabi_DpdEE_Model_Api
  • Eabi_DpdEE_Model_Button_Courier
  • Eabi_DpdEE_Model_Config
  • Eabi_DpdEE_Model_Flat
  • Eabi_DpdEE_Model_Observer
  • Eabi_DpdEE_Model_Payment_Processor
  • Eabi_DpdEE_Model_Post
  • Eabi_DpdEE_Model_Source_Label_Position
  • Eabi_DpdEE_Model_Source_Service
  • Eabi_Livehandler_Adminhtml_LivehandlerController
  • Eabi_Livehandler_Adminhtml_RemoveController
  • Eabi_Livehandler_Block_Adminhtml_Config_Form_Field_Button
  • Eabi_Livehandler_Block_Adminhtml_Config_Form_Field_Remove
  • Eabi_Livehandler_Block_Email
  • Eabi_LiveHandler_Block_Footer
  • Eabi_Livehandler_Helper_Data
  • Eabi_Livehandler_Helper_Keypair
  • Eabi_Livehandler_IndexController
  • Eabi_Livehandler_Model_Abstract
  • Eabi_Livehandler_Model_Action_Abstract
  • Eabi_Livehandler_Model_Action_Postoffice_Print
  • Eabi_Livehandler_Model_Action_Postoffice_Send
  • Eabi_Livehandler_Model_Adminhtml_Gridmanager
  • Eabi_Livehandler_Model_Directory_Collection
  • Eabi_Livehandler_Model_Entry
  • Eabi_Livehandler_Model_File_Object
  • Eabi_Livehandler_Model_Mysql4_Entry
  • Eabi_Livehandler_Model_Mysql4_Entry_Collection
  • Eabi_Livehandler_Model_Ordergrid
  • Eabi_Livehandler_Model_System_Config_Backend_Button
  • Eabi_Postoffice_Adminhtml_PostofficeController
  • Eabi_Postoffice_Block_Adminhtml_Config_Form_Field_License
  • Eabi_Postoffice_Block_Adminhtml_Config_Form_Field_Remove
  • Eabi_Postoffice_Block_Config_Rebuildbutton
  • Eabi_Postoffice_Helper_Countrycode
  • Eabi_Postoffice_Helper_Data
  • Eabi_Postoffice_IndexController
  • Eabi_Postoffice_Model_Carrier_Abstract
  • Eabi_Postoffice_Model_Carrier_Result
  • Eabi_Postoffice_Model_Carriermodule
  • Eabi_Postoffice_Model_Mysql4_Carriermodule
  • Eabi_Postoffice_Model_Mysql4_Carriermodule_Collection
  • Eabi_Postoffice_Model_Mysql4_Office
  • Eabi_Postoffice_Model_Mysql4_Office_Collection
  • Eabi_Postoffice_Model_Observer
  • Eabi_Postoffice_Model_Office
  • Eabi_Postoffice_Model_Orderview
  • Eabi_Postoffice_Model_Source_Sendevent
  • Eabi_Postoffice_Model_Updater
  • Overview
  • Namespace
  • Class
  • Tree

Class Eabi_Livehandler_Model_Directory_Collection

Replaces Varien_Directory_Collection for PHP5.3+ compatibility

Eabi_Livehandler_Model_Directory_Collection implements IteratorAggregate, Countable
Author: Matis
Located at Eabi/Livehandler/Model/Directory/Collection.php
Methods summary
public none
# __construct( string $path, boolean $isRecursion = true, mixed $recursionLevel = 0 )

Constructor

Constructor

Parameters

$path
string
$path - path to directory
$isRecursion
boolean
$is_recursion - use or not recursion
$recursionLevel

Returns

none
public string
# getDirName( )

Get name of this directory

Get name of this directory

Returns

string
- name of this directory
public boolean
# getRecursion( )

Get recursion

Get recursion

Returns

boolean
- is or not recursion
public integer
# getRecursionLevel( )

Get recursion level

Get recursion level

Returns

integer
- recursion level
public string
# getPath( )

Get path

Get path

Returns

string
- path to this directory
public none
# setPath( string $path, boolean $isRecursion = '' )

Set path to this directory

Set path to this directory

Parameters

$path
string
$path - path to this directory
$isRecursion
boolean
$isRecursion - use or not recursion

Returns

none
public none
# setRecursion( boolean $isRecursion )

Set recursion

Set recursion

Parameters

$isRecursion
boolean
$isRecursion - use or not recursion

Returns

none
public none
# setRecursionLevel( integer $recursionLevel )

Set level of recursion

Set level of recursion

Parameters

$recursionLevel
integer
$recursionLevel - level of recursion

Returns

none
public string
# lastDir( )

get latest dir in the path

get latest dir in the path

Returns

string
- latest dir in the path
public static string
# getLastDir( string $path )

get latest dir in the path

get latest dir in the path

Parameters

$path
string
$path - path to directory

Returns

string
- latest dir in the path
public none
# addItem( IFactory $item )

add item to collection

add item to collection

Parameters

$item
IFactory
$item - item of collection

Returns

none
protected none
# parseDir( )

parse this directory

parse this directory

Returns

none
public static
# getFactory( mixed $path, mixed $is_recursion = true, mixed $recurse_level = 0 )
public none
# useFilter( boolean $useFilter )

set filter using

set filter using

Parameters

$useFilter
boolean
$useFilter - filter using

Returns

none
public array
# filesName( )

get files names of current collection

get files names of current collection

Returns

array
- files names of current collection
public none
# getFilesName( array & $files )

get files names of current collection

get files names of current collection

Parameters

$files
array
$files - array of files names

Returns

none
public array
# filesPaths( )

get files paths of current collection

get files paths of current collection

Returns

array
- files paths of current collection
public none
# getFilesPaths( array & $paths )

get files paths of current collection

get files paths of current collection

Parameters

$paths
array
$files - array of files paths

Returns

none
public array
# filesObj( )

get SplFileObject objects of files of current collection

get SplFileObject objects of files of current collection

Returns

array
- array of SplFileObject objects
public none
# getFilesObj( array & $objs )

get SplFileObject objects of files of current collection

get SplFileObject objects of files of current collection

Parameters

$objs
array
$objs - array of SplFileObject objects

Returns

none
public array
# dirsName( )

get names of dirs of current collection

get names of dirs of current collection

Returns

array
- array of names of dirs
public none
# getDirsName( array & $dirs )

get names of dirs of current collection

get names of dirs of current collection

Parameters

$dirs
array
$dirs - array of names of dirs

Returns

none
protected none
# setFilesFilter( array $filter )

set filters for files

set filters for files

Parameters

$filter
array
$filter - array of filters

Returns

none
public array
# __toArray( )

display this collection as array

display this collection as array

Returns

array
public none
# toArray( array $arrRequiredFields = array() )

display this collection as array

display this collection as array

Parameters

$arrRequiredFields
array
&$arr - this collection array

Returns

none
public none
# __toXml( boolean $addOpenTag = true, string $rootName = 'Struct' )

get this collection as xml

get this collection as xml

Parameters

$addOpenTag
boolean
$addOpenTag - add or not header of xml
$rootName
string
$rootName - root element name

Returns

none
public none
# toXml( )

get this collection as xml

get this collection as xml

Returns

none
protected none
# _renderFilters( )

apply filters

apply filters

Returns

none
public none
# addFilter( mixed $field, mixed $value, mixed $type = 'and' )

add filter

add filter

Returns

none
public
# count( )

Implementation of

Countable::count()
public
# getIterator( )

Implementation of

IteratorAggregate::getIterator()
public Varien_Data_Collection
# loadData( mixed $printQuery = false, mixed $logQuery = false )

Load data

Load data

Returns

Varien_Data_Collection
public Varien_Data_Collection
# load( mixed $printQuery = false, mixed $logQuery = false )

Load data

Load data

Returns

Varien_Data_Collection
public Varien_Data_Collection
# clear( )

Clear collection

Clear collection

Returns

Varien_Data_Collection
public boolean
# isLoaded( )

Retrieve collection loading status

Retrieve collection loading status

Returns

boolean
protected unknown
# _setIsLoaded( unknown_type $flag = true )

Set collection loading status flag

Set collection loading status flag

Parameters

$flag
unknown_type
$flag

Returns

unknown
public array
# walk( string $callback, array $args = array() )

Walk through the collection and run model method or external callback with optional arguments

Walk through the collection and run model method or external callback with optional arguments

Returns array with results of callback for each item

Parameters

$callback
string
$method
$args
array
$args

Returns

array
public array
# getItems( )

Retrieve collection items

Retrieve collection items

Returns

array
Properties summary
protected string $_path ''
#
protected string $_dirName ''
#
protected integer $_recursionLevel 0
#
protected mixed $_isRecursion
#
protected array $_filters array()
#
DPD Eesti - Pakivedu.ee Shipping module for Magento API documentation generated by ApiGen 2.8.0