Public Member Functions | |
__construct () | |
_beforeToHtml () | |
Public Attributes | |
$wishlists_count | |
$items_bought | |
$shared_count | |
$referrals_count | |
$conversions_count | |
$customer_with_wishlist |
Definition at line 34 of file Wishlist.php.
__construct | ( | ) |
Constructor
By default is looking for first argument as array and assignes it as object attributes This behaviour may change in child classes
Reimplemented from Varien_Object.
Definition at line 44 of file Wishlist.php.
00045 { 00046 parent::__construct(); 00047 $this->setTemplate('report/wishlist.phtml'); 00048 }
_beforeToHtml | ( | ) |
Before rendering html, but after trying to load cache
Reimplemented from Mage_Core_Block_Abstract.
Definition at line 50 of file Wishlist.php.
00051 { 00052 $this->setChild('grid', $this->getLayout()->createBlock('adminhtml/report_wishlist_grid', 'report.grid')); 00053 00054 $collection = Mage::getResourceModel('reports/wishlist_collection'); 00055 00056 list($customerWithWishlist, $wishlistsCount) = $collection->getWishlistCustomerCount(); 00057 $this->setCustomerWithWishlist($customerWithWishlist); 00058 $this->setWishlistsCount($wishlistsCount); 00059 $this->setItemsBought(0); 00060 $this->setSharedCount($collection->getSharedCount()); 00061 $this->setReferralsCount(0); 00062 $this->setConversionsCount(0); 00063 00064 return $this; 00065 }
$conversions_count |
Definition at line 41 of file Wishlist.php.
$customer_with_wishlist |
Definition at line 42 of file Wishlist.php.
$items_bought |
Definition at line 38 of file Wishlist.php.
$referrals_count |
Definition at line 40 of file Wishlist.php.
$shared_count |
Definition at line 39 of file Wishlist.php.
$wishlists_count |
Definition at line 37 of file Wishlist.php.