-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
CedCommerce
committed
Sep 8, 2015
1 parent
141604c
commit dca50e8
Showing
13 changed files
with
544 additions
and
545 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
<?php | ||
/** | ||
* Copyright © 2015 CedCommerce. All rights reserved. | ||
*/ | ||
namespace Ced\DevTool\Block\DevTool; | ||
use Ced\DevTool\Block\DevTool; | ||
class BlockHandles extends DevTool | ||
{ | ||
|
||
/** | ||
* Function for getting block handle details | ||
* @return array | ||
*/ | ||
public function getBlockHandleDetails() | ||
{ | ||
return $this->_devToolHelper->getBlockDetails(); | ||
} | ||
|
||
<?php | ||
/** | ||
* Copyright © 2015 CedCommerce. All rights reserved. | ||
*/ | ||
namespace Ced\DevTool\Block\DevTool; | ||
use Ced\DevTool\Block\DevTool; | ||
class BlockHandles extends DevTool | ||
{ | ||
|
||
/** | ||
* Function for getting block handle details | ||
* @return array | ||
*/ | ||
public function getBlockHandleDetails() | ||
{ | ||
return $this->_devToolHelper->getBlockDetails(); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,29 @@ | ||
<?php | ||
namespace Ced\DevTool\Block\DevTool; | ||
class Collections extends \Magento\Framework\View\Element\Template | ||
{ | ||
/** | ||
* @var \Ced\DevTool\Helper\Data | ||
*/ | ||
protected $_devToolHelper; | ||
|
||
|
||
/** | ||
* @param \Ced\DevTool\Block\Context $context | ||
*/ | ||
public function __construct( \Ced\DevTool\Block\Context $context) | ||
{ | ||
$this->_devToolHelper = $context->getDevToolHelper(); | ||
parent::__construct($context); | ||
|
||
} | ||
/** | ||
* Retrun all the details related to collection on a particular page load | ||
*/ | ||
public function getCollectionDetails() | ||
{ | ||
return $this->_devToolHelper->getDevToolData($this->_devToolHelper->_collectionKey); | ||
} | ||
|
||
|
||
} | ||
<?php | ||
namespace Ced\DevTool\Block\DevTool; | ||
class Collections extends \Magento\Framework\View\Element\Template | ||
{ | ||
/** | ||
* @var \Ced\DevTool\Helper\Data | ||
*/ | ||
protected $_devToolHelper; | ||
|
||
|
||
/** | ||
* @param \Ced\DevTool\Block\Context $context | ||
*/ | ||
public function __construct( \Ced\DevTool\Block\Context $context) | ||
{ | ||
$this->_devToolHelper = $context->getDevToolHelper(); | ||
parent::__construct($context); | ||
|
||
} | ||
/** | ||
* Retrun all the details related to collection on a particular page load | ||
*/ | ||
public function getCollectionDetails() | ||
{ | ||
return $this->_devToolHelper->getDevToolData($this->_devToolHelper->_collectionKey); | ||
} | ||
|
||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,29 @@ | ||
<?php | ||
namespace Ced\DevTool\Block\DevTool; | ||
class Models extends \Magento\Framework\View\Element\Template | ||
{ | ||
/** | ||
* @var \Ced\DevTool\Helper\Data | ||
*/ | ||
protected $_devToolHelper; | ||
|
||
|
||
/** | ||
* @param \Ced\DevTool\Block\Context $context | ||
*/ | ||
public function __construct( \Ced\DevTool\Block\Context $context) | ||
{ | ||
$this->_devToolHelper = $context->getDevToolHelper(); | ||
parent::__construct($context); | ||
|
||
} | ||
/** | ||
* Retrun all the details related to Models on a particular page load | ||
*/ | ||
public function getModelDetails() | ||
{ | ||
return $this->_devToolHelper->getDevToolData($this->_devToolHelper->_modelKey); | ||
} | ||
|
||
|
||
} | ||
<?php | ||
namespace Ced\DevTool\Block\DevTool; | ||
class Models extends \Magento\Framework\View\Element\Template | ||
{ | ||
/** | ||
* @var \Ced\DevTool\Helper\Data | ||
*/ | ||
protected $_devToolHelper; | ||
|
||
|
||
/** | ||
* @param \Ced\DevTool\Block\Context $context | ||
*/ | ||
public function __construct( \Ced\DevTool\Block\Context $context) | ||
{ | ||
$this->_devToolHelper = $context->getDevToolHelper(); | ||
parent::__construct($context); | ||
|
||
} | ||
/** | ||
* Retrun all the details related to Models on a particular page load | ||
*/ | ||
public function getModelDetails() | ||
{ | ||
return $this->_devToolHelper->getDevToolData($this->_devToolHelper->_modelKey); | ||
} | ||
|
||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,40 @@ | ||
<?php | ||
namespace Ced\DevTool\Block\DevTool; | ||
class Request extends \Magento\Framework\View\Element\Template | ||
{ | ||
/** | ||
* @var \Ced\DevTool\Helper\Data | ||
*/ | ||
protected $_devToolHelper; | ||
public $_getVariables; | ||
public $_postVariables; | ||
|
||
|
||
/** | ||
* @param \Ced\DevTool\Block\Context $context | ||
*/ | ||
public function __construct( \Ced\DevTool\Block\Context $context, \Magento\Framework\App\RequestInterface $request) | ||
{ | ||
$this->_devToolHelper = $context->getDevToolHelper(); | ||
$this->_getVariables = $request->getParams(); | ||
parent::__construct($context); | ||
|
||
} | ||
/** | ||
* Retrun all the details related to Module/Controller/Action on a particular page load | ||
*/ | ||
public function getRequestDetails() | ||
{ | ||
return $this->_devToolHelper->getDevToolData($this->_devToolHelper->_requestKey); | ||
} | ||
/** | ||
* Retrun all the details related to GET ad POST variables on a particular page load | ||
*/ | ||
public function getPostGetVariableDetails() | ||
{ | ||
return $this->_getVariables; | ||
} | ||
|
||
|
||
|
||
} | ||
<?php | ||
namespace Ced\DevTool\Block\DevTool; | ||
class Request extends \Magento\Framework\View\Element\Template | ||
{ | ||
/** | ||
* @var \Ced\DevTool\Helper\Data | ||
*/ | ||
protected $_devToolHelper; | ||
public $_getVariables; | ||
public $_postVariables; | ||
|
||
|
||
/** | ||
* @param \Ced\DevTool\Block\Context $context | ||
*/ | ||
public function __construct( \Ced\DevTool\Block\Context $context, \Magento\Framework\App\RequestInterface $request) | ||
{ | ||
$this->_devToolHelper = $context->getDevToolHelper(); | ||
$this->_getVariables = $request->getParams(); | ||
parent::__construct($context); | ||
|
||
} | ||
/** | ||
* Retrun all the details related to Module/Controller/Action on a particular page load | ||
*/ | ||
public function getRequestDetails() | ||
{ | ||
return $this->_devToolHelper->getDevToolData($this->_devToolHelper->_requestKey); | ||
} | ||
/** | ||
* Retrun all the details related to GET ad POST variables on a particular page load | ||
*/ | ||
public function getPostGetVariableDetails() | ||
{ | ||
return $this->_getVariables; | ||
} | ||
|
||
|
||
|
||
} |
Oops, something went wrong.