Skip to content

Commit

Permalink
Update namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
hws47a committed Oct 27, 2012
1 parent 158fcaa commit e2a75c3
Show file tree
Hide file tree
Showing 20 changed files with 172 additions and 174 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Osme extension for Magento
* VF extension for Magento
*
* NOTICE OF LICENSE
*
Expand All @@ -12,25 +12,25 @@
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade
* the Osme CustomMenu module to newer versions in the future.
* If you wish to customize the Osme CustomMenu module for your needs
* the VF CustomMenu module to newer versions in the future.
* If you wish to customize the VF CustomMenu module for your needs
* please refer to http://www.magentocommerce.com for more information.
*
* @category Osme
* @package Osme_CustomMenu
* @copyright Copyright (C) 2012 Osme
* @category VF
* @package VF_CustomMenu
* @copyright Copyright (C) 2012 Vladimir Fishchenko (http://fishchenko.com)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/

/**
* Menu grid container
*
* @category Osme
* @package Osme_CustomMenu
* @category VF
* @package VF_CustomMenu
* @subpackage Block
* @author Vladimir Fishchenko <vladimir.fishchenko@gmail.com>
*/
class Osme_CustomMenu_Block_Adminhtml_Menu extends Mage_Adminhtml_Block_Widget_Grid_Container
class VF_CustomMenu_Block_Adminhtml_Menu extends Mage_Adminhtml_Block_Widget_Grid_Container
{
/**
* Init grid container
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Osme extension for Magento
* VF extension for Magento
*
* NOTICE OF LICENSE
*
Expand All @@ -12,25 +12,25 @@
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade
* the Osme CustomMenu module to newer versions in the future.
* If you wish to customize the Osme CustomMenu module for your needs
* the VF CustomMenu module to newer versions in the future.
* If you wish to customize the VF CustomMenu module for your needs
* please refer to http://www.magentocommerce.com for more information.
*
* @category Osme
* @package Osme_CustomMenu
* @copyright Copyright (C) 2012 Osme
* @category VF
* @package VF_CustomMenu
* @copyright Copyright (C) 2012 Vladimir Fishchenko (http://fishchenko.com)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/

/**
* Menu edit container
*
* @category Osme
* @package Osme_CustomMenu
* @category VF
* @package VF_CustomMenu
* @subpackage Block
* @author Vladimir Fishchenko <vladimir.fishchenko@gmail.com>
*/
class Osme_CustomMenu_Block_Adminhtml_Menu_Edit extends Mage_Adminhtml_Block_Widget_Form_Container
class VF_CustomMenu_Block_Adminhtml_Menu_Edit extends Mage_Adminhtml_Block_Widget_Form_Container
{
/**
* Init
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Osme extension for Magento
* VF extension for Magento
*
* NOTICE OF LICENSE
*
Expand All @@ -12,25 +12,25 @@
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade
* the Osme CustomMenu module to newer versions in the future.
* If you wish to customize the Osme CustomMenu module for your needs
* the VF CustomMenu module to newer versions in the future.
* If you wish to customize the VF CustomMenu module for your needs
* please refer to http://www.magentocommerce.com for more information.
*
* @category Osme
* @package Osme_CustomMenu
* @copyright Copyright (C) 2012 Osme
* @category VF
* @package VF_CustomMenu
* @copyright Copyright (C) 2012 Vladimir Fishchenko (http://fishchenko.com)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/

/**
* Menu edit form
*
* @category Osme
* @package Osme_CustomMenu
* @category VF
* @package VF_CustomMenu
* @subpackage Block
* @author Vladimir Fishchenko <vladimir.fishchenko@gmail.com>
*/
class Osme_CustomMenu_Block_Adminhtml_Menu_Edit_Form extends Mage_Adminhtml_Block_Widget_Form
class VF_CustomMenu_Block_Adminhtml_Menu_Edit_Form extends Mage_Adminhtml_Block_Widget_Form
{
/**
* prepare the form
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Osme extension for Magento
* VF extension for Magento
*
* NOTICE OF LICENSE
*
Expand All @@ -12,25 +12,25 @@
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade
* the Osme CustomMenu module to newer versions in the future.
* If you wish to customize the Osme CustomMenu module for your needs
* the VF CustomMenu module to newer versions in the future.
* If you wish to customize the VF CustomMenu module for your needs
* please refer to http://www.magentocommerce.com for more information.
*
* @category Osme
* @package Osme_CustomMenu
* @copyright Copyright (C) 2012 Osme
* @category VF
* @package VF_CustomMenu
* @copyright Copyright (C) 2012 Vladimir Fishchenko (http://fishchenko.com)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/

/**
* Menu grid
*
* @category Osme
* @package Osme_CustomMenu
* @category VF
* @package VF_CustomMenu
* @subpackage Block
* @author Vladimir Fishchenko <vladimir.fishchenko@gmail.com>
*/
class Osme_CustomMenu_Block_Adminhtml_Menu_Grid extends Mage_Adminhtml_Block_Widget_Grid
class VF_CustomMenu_Block_Adminhtml_Menu_Grid extends Mage_Adminhtml_Block_Widget_Grid
{
/**
* Init grid
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Osme extension for Magento
* VF extension for Magento
*
* NOTICE OF LICENSE
*
Expand All @@ -12,25 +12,25 @@
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade
* the Osme CustomMenu module to newer versions in the future.
* If you wish to customize the Osme CustomMenu module for your needs
* the VF CustomMenu module to newer versions in the future.
* If you wish to customize the VF CustomMenu module for your needs
* please refer to http://www.magentocommerce.com for more information.
*
* @category Osme
* @package Osme_CustomMenu
* @copyright Copyright (C) 2012 Osme
* @category VF
* @package VF_CustomMenu
* @copyright Copyright (C) 2012 Vladimir Fishchenko (http://fishchenko.com)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/

/**
* Custom menu block
*
* @category Osme
* @package Osme_CustomMenu
* @category VF
* @package VF_CustomMenu
* @subpackage Block
* @author Vladimir Fishchenko <vladimir.fishchenko@gmail.com>
*/
class Osme_CustomMenu_Block_Navigation extends Mage_Core_Block_Template
class VF_CustomMenu_Block_Navigation extends Mage_Core_Block_Template
{
protected function _construct()
{
Expand All @@ -56,7 +56,7 @@ public function getCacheKeyInfo()
/**
* get menu items
*
* @return Osme_CustomMenu_Model_Resource_Menu_Collection
* @return VF_CustomMenu_Model_Resource_Menu_Collection
*/
public function getMenuItems()
{
Expand All @@ -68,16 +68,16 @@ public function getMenuItems()
/**
* get item url
*
* @param \Osme_CustomMenu_Model_Menu $item
* @param \VF_CustomMenu_Model_Menu $item
* @return string
*/
public function getItemUrl(Osme_CustomMenu_Model_Menu $item)
public function getItemUrl(VF_CustomMenu_Model_Menu $item)
{
$url = ltrim($item->getUrl());
return (strpos($url, 'javascript:') === false) ? Mage::getBaseUrl() . $url : $url;
}

public function getDynamicBlock(Osme_CustomMenu_Model_Menu $item) {
public function getDynamicBlock(VF_CustomMenu_Model_Menu $item) {
$block = '';
if ($item->getSourceAttribute()) {
/** @var $attribute Mage_Catalog_Model_Resource_Eav_Attribute */
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Osme extension for Magento
* VF extension for Magento
*
* NOTICE OF LICENSE
*
Expand All @@ -12,24 +12,24 @@
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade
* the Osme CustomMenu module to newer versions in the future.
* If you wish to customize the Osme CustomMenu module for your needs
* the VF CustomMenu module to newer versions in the future.
* If you wish to customize the VF CustomMenu module for your needs
* please refer to http://www.magentocommerce.com for more information.
*
* @category Osme
* @package Osme_CustomMenu
* @copyright Copyright (C) 2012 Osme
* @category VF
* @package VF_CustomMenu
* @copyright Copyright (C) 2012 Vladimir Fishchenko (http://fishchenko.com)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/

/**
* Menu helper
*
* @category Osme
* @package Osme_CustomMenu
* @category VF
* @package VF_CustomMenu
* @subpackage Helper
* @author Vladimir Fishchenko <vladimir.fishchenko@gmail.com>
*/
class Osme_CustomMenu_Helper_Data extends Mage_Core_Helper_Data
class VF_CustomMenu_Helper_Data extends Mage_Core_Helper_Data
{
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Osme extension for Magento
* VF extension for Magento
*
* NOTICE OF LICENSE
*
Expand All @@ -12,25 +12,25 @@
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade
* the Osme CustomMenu module to newer versions in the future.
* If you wish to customize the Osme CustomMenu module for your needs
* the VF CustomMenu module to newer versions in the future.
* If you wish to customize the VF CustomMenu module for your needs
* please refer to http://www.magentocommerce.com for more information.
*
* @category Osme
* @package Osme_CustomMenu
* @copyright Copyright (C) 2012 Osme
* @category VF
* @package VF_CustomMenu
* @copyright Copyright (C) 2012 Vladimir Fishchenko (http://fishchenko.com)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/

/**
* Source Attribute model
*
* @category Osme
* @package Osme_CustomMenu
* @category VF
* @package VF_CustomMenu
* @subpackage Model
* @author Vladimir Fishchenko <vladimir.fishchenko@gmail.com>
*/
class Osme_CustomMenu_Model_Attribute
class VF_CustomMenu_Model_Attribute
{
public function getSourceAttributes()
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Osme extension for Magento
* VF extension for Magento
*
* NOTICE OF LICENSE
*
Expand All @@ -12,13 +12,13 @@
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade
* the Osme CustomMenu module to newer versions in the future.
* If you wish to customize the Osme CustomMenu module for your needs
* the VF CustomMenu module to newer versions in the future.
* If you wish to customize the VF CustomMenu module for your needs
* please refer to http://www.magentocommerce.com for more information.
*
* @category Osme
* @package Osme_CustomMenu
* @copyright Copyright (C) 2012 Osme
* @category VF
* @package VF_CustomMenu
* @copyright Copyright (C) 2012 Vladimir Fishchenko (http://fishchenko.com)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/

Expand All @@ -30,12 +30,12 @@
* @method string getTitle
* @method string getLabel
*
* @category Osme
* @package Osme_CustomMenu
* @category VF
* @package VF_CustomMenu
* @subpackage Model
* @author Vladimir Fishchenko <vladimir.fishchenko@gmail.com>
*/
class Osme_CustomMenu_Model_Menu extends Mage_Core_Model_Abstract
class VF_CustomMenu_Model_Menu extends Mage_Core_Model_Abstract
{
/**
* Initialize resources
Expand Down
Loading

0 comments on commit e2a75c3

Please sign in to comment.