Skip to content

Commit

Permalink
Merge branch 'develop' of github.com:magento/magento2ce into MAGETWO-…
Browse files Browse the repository at this point in the history
…65470
  • Loading branch information
valdislav committed Apr 21, 2017
2 parents 3a4ba13 + c2af247 commit 8c82105
Show file tree
Hide file tree
Showing 345 changed files with 1,289 additions and 357 deletions.
Expand Up @@ -9,7 +9,12 @@
use Magento\Framework\ObjectManager\Helper\Composite as CompositeHelper;

/**
* Composite user context (implements composite pattern).
* User context.
*
* This class is not implementing standard composite pattern and will not invoke all of its children.
* Instead, it will try to find the first suitable child and return its result.
*
* @api
*/
class CompositeUserContext implements \Magento\Authorization\Model\UserContextInterface
{
Expand Down
Expand Up @@ -8,20 +8,9 @@
/**
* Admin permissions collection
*
* @author Magento Core Team <core@magentocommerce.com>
* @deprecated
* @see \Magento\Authorization\Model\ResourceModel\Rules\Collection
*/
class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection
class Collection extends \Magento\Authorization\Model\ResourceModel\Rules\Collection
{
/**
* Initialize resource
*
* @return void
*/
protected function _construct()
{
$this->_init(
\Magento\Authorization\Model\Rules::class,
\Magento\Authorization\Model\ResourceModel\Rules::class
);
}
}
Expand Up @@ -9,6 +9,8 @@

/**
* Admin role collection
*
* @api
*/
class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection
{
Expand Down
Expand Up @@ -8,7 +8,7 @@
/**
* Rules collection
*
* @author Magento Core Team <core@magentocommerce.com>
* @api
*/
class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection
{
Expand Down
1 change: 1 addition & 0 deletions app/code/Magento/Authorization/Model/Role.php
Expand Up @@ -24,6 +24,7 @@
* @method \Magento\Authorization\Model\Role setUserType(string $value)
* @method string getRoleName()
* @method \Magento\Authorization\Model\Role setRoleName(string $value)
* @api
*/
class Role extends \Magento\Framework\Model\AbstractModel
{
Expand Down
5 changes: 3 additions & 2 deletions app/code/Magento/Authorization/Model/Rules.php
Expand Up @@ -21,6 +21,7 @@
* @method \Magento\Authorization\Model\Rules setAssertId(int $value)
* @method string getPermission()
* @method \Magento\Authorization\Model\Rules setPermission(string $value)
* @api
*/
class Rules extends \Magento\Framework\Model\AbstractModel
{
Expand All @@ -30,14 +31,14 @@ class Rules extends \Magento\Framework\Model\AbstractModel
* @param \Magento\Framework\Model\Context $context
* @param \Magento\Framework\Registry $registry
* @param \Magento\Authorization\Model\ResourceModel\Rules $resource
* @param \Magento\Authorization\Model\ResourceModel\Permissions\Collection $resourceCollection
* @param \Magento\Authorization\Model\ResourceModel\Rules\Collection $resourceCollection
* @param array $data
*/
public function __construct(
\Magento\Framework\Model\Context $context,
\Magento\Framework\Registry $registry,
\Magento\Authorization\Model\ResourceModel\Rules $resource,
\Magento\Authorization\Model\ResourceModel\Permissions\Collection $resourceCollection,
\Magento\Authorization\Model\ResourceModel\Rules\Collection $resourceCollection,
array $data = []
) {
parent::__construct($context, $registry, $resource, $resourceCollection, $data);
Expand Down
2 changes: 2 additions & 0 deletions app/code/Magento/Authorization/Model/UserContextInterface.php
Expand Up @@ -8,6 +8,8 @@

/**
* Interface for current user identification.
*
* @api
*/
interface UserContextInterface
{
Expand Down
Expand Up @@ -4,13 +4,11 @@
* See COPYING.txt for license details.
*/

namespace Magento\Captcha\Block\Adminhtml\Captcha;

/**
* Captcha block for adminhtml area
*
* @author Magento Core Team <core@magentocommerce.com>
*/
namespace Magento\Captcha\Block\Adminhtml\Captcha;

class DefaultCaptcha extends \Magento\Captcha\Block\Captcha\DefaultCaptcha
{
/**
Expand Down
2 changes: 0 additions & 2 deletions app/code/Magento/Captcha/Block/Captcha/DefaultCaptcha.php
Expand Up @@ -7,8 +7,6 @@

/**
* Captcha block
*
* @author Magento Core Team <core@magentocommerce.com>
*/
class DefaultCaptcha extends \Magento\Framework\View\Element\Template
{
Expand Down
2 changes: 2 additions & 0 deletions app/code/Magento/Captcha/Helper/Data.php
Expand Up @@ -11,6 +11,8 @@

/**
* Captcha image model
*
* @api
*/
class Data extends \Magento\Framework\App\Helper\AbstractHelper
{
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Captcha/Model/DefaultModel.php
Expand Up @@ -8,7 +8,7 @@
/**
* Implementation of \Zend\Captcha\Image
*
* @author Magento Core Team <core@magentocommerce.com>
* @api
*/
class DefaultModel extends \Zend\Captcha\Image implements \Magento\Captcha\Model\CaptchaInterface
{
Expand Down
5 changes: 4 additions & 1 deletion app/code/Magento/Captcha/view/frontend/web/captcha.js
Expand Up @@ -9,6 +9,9 @@ define([
], function ($) {
'use strict';

/**
* @api
*/
$.widget('mage.captcha', {
options: {
refreshClass: 'refreshing',
Expand All @@ -26,7 +29,7 @@ define([
},

/**
* Method triggeres an AJAX request to refresh the CAPTCHA image
* Method triggers an AJAX request to refresh the CAPTCHA image
*/
refresh: function () {
var imageLoader = this.options.imageLoader;
Expand Down
7 changes: 7 additions & 0 deletions app/code/Magento/Catalog/Block/ShortcutButtons.php
Expand Up @@ -7,6 +7,13 @@

use Magento\Framework\View\Element\Template;

/**
* Shortcuts container
*
* Accepts shortcuts on shortcut_buttons_container event and render shortcuts using custom order
*
* @api
*/
class ShortcutButtons extends Template
{
/**#@+
Expand Down
5 changes: 5 additions & 0 deletions app/code/Magento/Catalog/Block/ShortcutInterface.php
Expand Up @@ -5,6 +5,11 @@
*/
namespace Magento\Catalog\Block;

/**
* Shortcut block interface
*
* @api
*/
interface ShortcutInterface
{
/**
Expand Down
3 changes: 3 additions & 0 deletions app/code/Magento/Catalog/Helper/Data.php
Expand Up @@ -15,6 +15,9 @@

/**
* Catalog data helper
*
* @api
*
* @SuppressWarnings(PHPMD.TooManyFields)
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
*/
Expand Down
2 changes: 2 additions & 0 deletions app/code/Magento/Catalog/Helper/Image.php
Expand Up @@ -9,6 +9,8 @@

/**
* Catalog image helper
*
* @api
* @SuppressWarnings(PHPMD.TooManyFields)
*/
class Image extends AbstractHelper
Expand Down
2 changes: 2 additions & 0 deletions app/code/Magento/Catalog/Helper/Product/Compare.php
Expand Up @@ -11,6 +11,8 @@
/**
* Catalog Product Compare Helper
*
* @api
*
* @SuppressWarnings(PHPMD.LongVariable)
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
*/
Expand Down
2 changes: 2 additions & 0 deletions app/code/Magento/Catalog/Helper/Product/Composite.php
Expand Up @@ -17,6 +17,8 @@
/**
* Adminhtml catalog product composite helper
*
* @api
*
* @author Magento Core Team <core@magentocommerce.com>
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
*/
Expand Down
Expand Up @@ -8,6 +8,8 @@

/**
* Interface for product configuration helpers
*
* @api
*/
interface ConfigurationInterface
{
Expand Down
3 changes: 3 additions & 0 deletions app/code/Magento/Catalog/Helper/Product/ConfigurationPool.php
Expand Up @@ -5,6 +5,9 @@
*/
namespace Magento\Catalog\Helper\Product;

/**
* @api
*/
class ConfigurationPool
{
/**
Expand Down
2 changes: 2 additions & 0 deletions app/code/Magento/Catalog/Helper/Product/ProductList.php
Expand Up @@ -10,6 +10,8 @@

/**
* Class ProductList
*
* @api
*/
class ProductList
{
Expand Down
Expand Up @@ -9,7 +9,9 @@
use Magento\Eav\Model\Entity\Attribute\Exception;

/**
* Product url key attribute backend
* Layout update attribute backend
*
* @api
*
* @SuppressWarnings(PHPMD.LongVariable)
*/
Expand Down
Expand Up @@ -9,6 +9,8 @@
*
* Speical Start Date attribute backend
*
* @api
*
* @author Magento Core Team <core@magentocommerce.com>
*/
class Startdate extends \Magento\Eav\Model\Entity\Attribute\Backend\Datetime
Expand Down
Expand Up @@ -7,6 +7,8 @@
/**
* Catalog category image attribute backend model
*
* @api
*
* @author Magento Core Team <core@magentocommerce.com>
*/
namespace Magento\Catalog\Model\Category\Attribute\Backend;
Expand Down
Expand Up @@ -8,6 +8,8 @@
/**
* Catalog Category Attribute Default and Available Sort By Backend Model
*
* @api
*
* @author Magento Core Team <core@magentocommerce.com>
*/
class Sortby extends \Magento\Eav\Model\Entity\Attribute\Backend\AbstractBackend
Expand Down
2 changes: 2 additions & 0 deletions app/code/Magento/Catalog/Model/Category/DataProvider.php
Expand Up @@ -28,6 +28,8 @@
/**
* Class DataProvider
*
* @api
*
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
*/
class DataProvider extends \Magento\Ui\DataProvider\AbstractDataProvider
Expand Down
2 changes: 2 additions & 0 deletions app/code/Magento/Catalog/Model/Design.php
Expand Up @@ -8,6 +8,8 @@
/**
* Catalog Custom Category design Model
*
* @api
*
* @author Magento Core Team <core@magentocommerce.com>
*/
class Design extends \Magento\Framework\Model\AbstractModel
Expand Down
3 changes: 3 additions & 0 deletions app/code/Magento/Catalog/Model/Indexer/AbstractFlatState.php
Expand Up @@ -7,6 +7,9 @@

use Magento\Store\Model\ScopeInterface;

/**
* @api
*/
abstract class AbstractFlatState
{
/**
Expand Down
5 changes: 5 additions & 0 deletions app/code/Magento/Catalog/Model/Indexer/Category/Flat.php
Expand Up @@ -7,6 +7,11 @@

use Magento\Framework\Indexer\CacheContext;

/**
* Category flat indexer
*
* @api
*/
class Flat implements \Magento\Framework\Indexer\ActionInterface, \Magento\Framework\Mview\ActionInterface
{
/**
Expand Down
Expand Up @@ -6,6 +6,11 @@

namespace Magento\Catalog\Model\Indexer\Category\Flat;

/**
* Static columns provider
*
* @api
*/
class SkipStaticColumnsProvider
{
/**
Expand Down
Expand Up @@ -5,6 +5,9 @@
*/
namespace Magento\Catalog\Model\Indexer\Category\Flat;

/**
* @api
*/
class State extends \Magento\Catalog\Model\Indexer\AbstractFlatState
{
/**
Expand Down
5 changes: 5 additions & 0 deletions app/code/Magento/Catalog/Model/Indexer/Category/Product.php
Expand Up @@ -7,6 +7,11 @@

use Magento\Framework\Indexer\CacheContext;

/**
* Category product indexer
*
* @api
*/
class Product implements \Magento\Framework\Indexer\ActionInterface, \Magento\Framework\Mview\ActionInterface
{
/**
Expand Down
Expand Up @@ -15,6 +15,9 @@

/**
* Class AbstractAction
*
* @api
*
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
*/
abstract class AbstractAction
Expand Down
Expand Up @@ -5,6 +5,11 @@
*/
namespace Magento\Catalog\Model\Indexer\Category\Product;

/**
* Category product link indexer
*
* @api
*/
class Processor extends \Magento\Framework\Indexer\AbstractProcessor
{
/**
Expand Down
3 changes: 3 additions & 0 deletions app/code/Magento/Catalog/Model/Indexer/Product/Category.php
Expand Up @@ -5,6 +5,9 @@
*/
namespace Magento\Catalog\Model\Indexer\Product;

/**
* @api
*/
class Category extends \Magento\Catalog\Model\Indexer\Category\Product
{
/**
Expand Down

0 comments on commit 8c82105

Please sign in to comment.