Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
| Total | |
100.00% |
1 / 1 |
|
100.00% |
12 / 12 |
CRAP | |
100.00% |
19 / 19 |
| BlockPosition | |
100.00% |
1 / 1 |
|
100.00% |
14 / 14 |
14 | |
100.00% |
19 / 19 |
| setPageId | |
100.00% |
1 / 1 |
1 | |
100.00% |
2 / 2 |
|||
| getPageId | |
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
|||
| setTargetId | |
100.00% |
1 / 1 |
1 | |
100.00% |
2 / 2 |
|||
| getTargetId | |
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
|||
| setBlockId | |
100.00% |
1 / 1 |
1 | |
100.00% |
2 / 2 |
|||
| getBlockId | |
100.00% |
1 / 1 |
1 | |
100.00% |
0 / 0 |
|||
| setBlockRow | |
100.00% |
1 / 1 |
1 | |
100.00% |
2 / 2 |
|||
| getBlockRow | |
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
|||
| setAnywhere | |
100.00% |
1 / 1 |
1 | |
100.00% |
2 / 2 |
|||
| getAnywhere | |
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
|||
| setBlock | |
100.00% |
1 / 1 |
1 | |
100.00% |
2 / 2 |
|||
| getBlock | |
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
|||
| setPageLayout | |
100.00% |
1 / 1 |
1 | |
100.00% |
2 / 2 |
|||
| getPageLayout | |
100.00% |
1 / 1 |
1 | |
100.00% |
0 / 0 |
|||
| <?php | |
| namespace Eccube\Entity; | |
| use Doctrine\ORM\Mapping as ORM; | |
| /** | |
| * BlockPosition | |
| */ | |
| class BlockPosition extends \Eccube\Entity\AbstractEntity | |
| { | |
| /** | |
| * @var integer | |
| */ | |
| private $page_id; | |
| /** | |
| * @var integer | |
| */ | |
| private $target_id; | |
| /** | |
| * @var integer | |
| */ | |
| private $block_id; | |
| /** | |
| * @var integer | |
| */ | |
| private $block_row; | |
| /** | |
| * @var integer | |
| */ | |
| private $anywhere; | |
| /** | |
| * @var \Eccube\Entity\Block | |
| */ | |
| private $Block; | |
| /** | |
| * @var \Eccube\Entity\PageLayout | |
| */ | |
| private $PageLayout; | |
| /** | |
| * Set page_id | |
| * | |
| * @param integer $pageId | |
| * @return BlockPosition | |
| */ | |
| public function setPageId($pageId) | |
| { | |
| $this->page_id = $pageId; | |
| return $this; | |
| } | |
| /** | |
| * Get page_id | |
| * | |
| * @return integer | |
| */ | |
| public function getPageId() | |
| { | |
| return $this->page_id; | |
| } | |
| /** | |
| * Set target_id | |
| * | |
| * @param integer $targetId | |
| * @return BlockPosition | |
| */ | |
| public function setTargetId($targetId) | |
| { | |
| $this->target_id = $targetId; | |
| return $this; | |
| } | |
| /** | |
| * Get target_id | |
| * | |
| * @return integer | |
| */ | |
| public function getTargetId() | |
| { | |
| return $this->target_id; | |
| } | |
| /** | |
| * Set block_id | |
| * | |
| * @param integer $blockId | |
| * @return BlockPosition | |
| */ | |
| public function setBlockId($blockId) | |
| { | |
| $this->block_id = $blockId; | |
| return $this; | |
| } | |
| /** | |
| * Get block_id | |
| * | |
| * @return integer | |
| */ | |
| public function getBlockId() | |
| { | |
| return $this->block_id; | |
| } | |
| /** | |
| * Set block_row | |
| * | |
| * @param integer $blockRow | |
| * @return BlockPosition | |
| */ | |
| public function setBlockRow($blockRow) | |
| { | |
| $this->block_row = $blockRow; | |
| return $this; | |
| } | |
| /** | |
| * Get block_row | |
| * | |
| * @return integer | |
| */ | |
| public function getBlockRow() | |
| { | |
| return $this->block_row; | |
| } | |
| /** | |
| * Set anywhere | |
| * | |
| * @param integer $anywhere | |
| * @return BlockPosition | |
| */ | |
| public function setAnywhere($anywhere) | |
| { | |
| $this->anywhere = $anywhere; | |
| return $this; | |
| } | |
| /** | |
| * Get anywhere | |
| * | |
| * @return integer | |
| */ | |
| public function getAnywhere() | |
| { | |
| return $this->anywhere; | |
| } | |
| /** | |
| * Set Block | |
| * | |
| * @param \Eccube\Entity\Block $block | |
| * @return BlockPosition | |
| */ | |
| public function setBlock(\Eccube\Entity\Block $block) | |
| { | |
| $this->Block = $block; | |
| return $this; | |
| } | |
| /** | |
| * Get Block | |
| * | |
| * @return \Eccube\Entity\Block | |
| */ | |
| public function getBlock() | |
| { | |
| return $this->Block; | |
| } | |
| /** | |
| * Set PageLayout | |
| * | |
| * @param \Eccube\Entity\PageLayout $pageLayout | |
| * @return BlockPosition | |
| */ | |
| public function setPageLayout(\Eccube\Entity\PageLayout $pageLayout) | |
| { | |
| $this->PageLayout = $pageLayout; | |
| return $this; | |
| } | |
| /** | |
| * Get PageLayout | |
| * | |
| * @return \Eccube\Entity\PageLayout | |
| */ | |
| public function getPageLayout() | |
| { | |
| return $this->PageLayout; | |
| } | |
| } |