Feedify/Writer.php
protected function getFormattedItems() {
        $formattedItems = array();
        foreach ($this->items as $item) {
            $formattedItem = array();
            foreach ($this->formatters as $attributeName => $formatter) {
                $formattedItem[$attributeName] = $this->checkAttributeFormat($attributeName, $formatter($item));
            }
            $formattedItems[] = $formattedItem;
        }
        return $formattedItems;
    }
protected function getFormattedItems() {
        $formattedItems = array();
        foreach ($this->items as $item) {
            $formattedItem = array();
            foreach ($this->formatters as $attributeName => $formatter) {
                $formattedItem[$attributeName] = $this->checkAttributeFormat($attributeName, $formatter($item));
            }
            $formattedItems[] = $formattedItem;
        }
        return $formattedItems;
    }
protected function getFormattedItems ( ) { $ formattedItems = array ( ) ; foreach ( $ this -> items as $ item ) { $ formattedItem = array ( ) ; foreach ( $ this -> formatters as $ attributeName => $ formatter ) { $ formattedItem [ $ attributeName ] = $ this -> checkAttributeFormat ( $ attributeName , $ formatter ( $ item ) ) ; } $ formattedItems [ ] = $ formattedItem ; } return $ formattedItems ; }
/* PRIVATE METHODS
***********************************************************************
/ * PRIVATE METHODS ***********************************************************************