Skip to content
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@
* See COPYING.txt for license details.
*/

/**
* @author Magento Core Team <[email protected]>
*/
namespace Magento\Catalog\Block\Adminhtml\Product\Attribute\Set\Toolbar\Main;

use Magento\Backend\Block\Widget\Form;
Expand Down Expand Up @@ -37,6 +34,8 @@ public function __construct(
}

/**
* Prepare the form
*
* @return void
*/
protected function _prepareForm()
Expand Down
4 changes: 1 addition & 3 deletions app/code/Magento/Catalog/Block/Adminhtml/Product/Edit.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
/**
* Customer edit block
*
* @author Magento Core Team <[email protected]>
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
*/
namespace Magento\Catalog\Block\Adminhtml\Product;
Expand All @@ -32,8 +31,6 @@ class Edit extends \Magento\Backend\Block\Widget
protected $_template = 'Magento_Catalog::catalog/product/edit.phtml';

/**
* Core registry
*
* @var \Magento\Framework\Registry
*/
protected $_coreRegistry = null;
Expand Down Expand Up @@ -294,6 +291,7 @@ public function getDuplicateUrl()
* Retrieve product header
*
* @deprecated 102.0.0
* @see nothing
* @return string
*/
public function getHeader()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,14 @@
* See COPYING.txt for license details.
*/

/**
* Adminhtml catalog product action attribute update
*
* @author Magento Core Team <[email protected]>
*/
namespace Magento\Catalog\Block\Adminhtml\Product\Edit\Action;

use Magento\Catalog\Helper\Product\Edit\Action\Attribute as ActionAttribute;
use Magento\Catalog\Model\ResourceModel\Product\Collection;

/**
* Adminhtml catalog product action attribute update
*
* @api
* @since 100.0.2
*/
Expand Down Expand Up @@ -42,6 +39,8 @@ public function __construct(
}

/**
* Prepare the layout
*
* @return void
*/
protected function _prepareLayout()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* Adminhtml catalog product edit action attributes update tab block
*
* @author Magento Core Team <[email protected]>
*/
declare(strict_types=1);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,22 @@
* See COPYING.txt for license details.
*/

/**
* Product mass attribute update websites tab
*
* @author Magento Core Team <[email protected]>
*/
namespace Magento\Catalog\Block\Adminhtml\Product\Edit\Action\Attribute\Tab;

use Magento\Store\Model\Group;
use Magento\Store\Model\Website;

/**
* Product mass attribute update websites tab
*
* @api
* @since 100.0.2
*/
class Websites extends \Magento\Backend\Block\Widget implements \Magento\Backend\Block\Widget\Tab\TabInterface
{
/**
* Return collection of websites
*
* @return Website[]
*/
public function getWebsiteCollection()
Expand All @@ -29,6 +28,8 @@ public function getWebsiteCollection()
}

/**
* Return collection of groups
*
* @param Website $website
* @return Group[]
*/
Expand All @@ -38,6 +39,8 @@ public function getGroupCollection(Website $website)
}

/**
* Return collection of stores
*
* @param Group $group
* @return array
*/
Expand All @@ -57,6 +60,8 @@ public function getTabLabel()
}

/**
* Return tab title
*
* @return \Magento\Framework\Phrase
*/
public function getTabTitle()
Expand All @@ -65,6 +70,8 @@ public function getTabTitle()
}

/**
* Return true always
*
* @return bool
*/
public function canShowTab()
Expand All @@ -73,6 +80,8 @@ public function canShowTab()
}

/**
* Return false always
*
* @return bool
*/
public function isHidden()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,13 @@
* Adminhtml catalog product edit action attributes update tabs block
*
* @api
* @author Magento Core Team <[email protected]>
* @since 100.0.2
*/
class Tabs extends \Magento\Backend\Block\Widget\Tabs
{
/**
* Initialise the block
*
* @return void
*/
protected function _construct()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,17 @@
* See COPYING.txt for license details.
*/

/**
* Create product attribute set selector
*
* @author Magento Core Team <[email protected]>
*/
namespace Magento\Catalog\Block\Adminhtml\Product\Edit;

use Magento\Framework\App\ObjectManager;
use Magento\Framework\Json\Helper\Data as JsonHelper;

/**
* Admin AttributeSet block
* Create product attribute set selector
*/
class AttributeSet extends \Magento\Backend\Block\Widget\Form
{
/**
* Core registry
*
* @var \Magento\Framework\Registry
*/
protected $_coreRegistry = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* New category creation form
*
* @author Magento Core Team <[email protected]>
*/
namespace Magento\Catalog\Block\Adminhtml\Product\Edit;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* Product alerts tab
*
* @author Magento Core Team <[email protected]>
*/
namespace Magento\Catalog\Block\Adminhtml\Product\Edit\Tab;

Expand All @@ -19,6 +17,8 @@ class Alerts extends \Magento\Backend\Block\Widget\Tab
protected $_template = 'Magento_Catalog::catalog/product/tab/alert.phtml';

/**
* Prepare the layout
*
* @return $this
*/
protected function _prepareLayout()
Expand Down Expand Up @@ -68,6 +68,8 @@ protected function _prepareLayout()
}

/**
* Return HTML for accordion
*
* @return string
*/
public function getAccordionHtml()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* Product attributes tab
*
* @author Magento Core Team <[email protected]>
*/
namespace Magento\Catalog\Block\Adminhtml\Product\Edit\Tab;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,13 @@
* See COPYING.txt for license details.
*/

/**
* New attribute panel on product edit page
*
* @author Magento Core Team <[email protected]>
*/
namespace Magento\Catalog\Block\Adminhtml\Product\Edit\Tab\Attributes;

use Magento\Backend\Block\Widget\Button;

/**
* New attribute panel on product edit page
*/
class Create extends Button
{
/**
Expand All @@ -37,6 +35,8 @@ public function getConfig()
}

/**
* Add 'new attribute' button
*
* @return $this
*/
protected function _beforeToHtml()
Expand Down Expand Up @@ -85,6 +85,8 @@ protected function _beforeToHtml()
}

/**
* Return the HTML for this block
*
* @return string
*/
protected function _toHtml()
Expand All @@ -102,6 +104,8 @@ protected function _toHtml()
}

/**
* Return the JavaScript object name
*
* @return string
*/
public function getJsObjectName()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,17 @@
* See COPYING.txt for license details.
*/

/**
* New attribute panel on product edit page
*
* @author Magento Core Team <[email protected]>
*/
namespace Magento\Catalog\Block\Adminhtml\Product\Edit\Tab\Attributes;

use Magento\Framework\App\ObjectManager;
use Magento\Framework\Json\Helper\Data as JsonHelper;

/**
* Admin product attribute search block
* New attribute panel on product edit page
*/
class Search extends \Magento\Backend\Block\Widget
{
/**
* Core registry
*
* @var \Magento\Framework\Registry
*/
protected $_coreRegistry = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,13 @@
* See COPYING.txt for license details.
*/

/**
* Adminhtml product grid in custom options popup
*
* @author Magento Core Team <[email protected]>
*/
namespace Magento\Catalog\Block\Adminhtml\Product\Edit\Tab\Options\Popup;

use Magento\Catalog\Model\Product;

/**
* Adminhtml product grid in custom options popup
*
* @api
* @SuppressWarnings(PHPMD.DepthOfInheritance)
* @since 100.0.2
Expand Down Expand Up @@ -59,6 +56,8 @@ public function _prepareMassaction()
}

/**
* Prepare the collection
*
* @return $this
*/
protected function _prepareCollection()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,11 @@
* See COPYING.txt for license details.
*/

/**
* customers defined options
*
* @author Magento Core Team <[email protected]>
*/
namespace Magento\Catalog\Block\Adminhtml\Product\Edit\Tab\Options\Type;

/**
* Customers defined options
*/
class AbstractType extends \Magento\Backend\Block\Widget
{
/**
Expand Down Expand Up @@ -38,6 +36,8 @@ public function __construct(
}

/**
* Prepare the layout
*
* @return $this
*/
protected function _prepareLayout()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* customers defined options
*
* @author Magento Core Team <[email protected]>
*/
namespace Magento\Catalog\Block\Adminhtml\Product\Edit\Tab\Options\Type;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* customers defined options
*
* @author Magento Core Team <[email protected]>
*/
namespace Magento\Catalog\Block\Adminhtml\Product\Edit\Tab\Options\Type;

Expand Down
Loading