コード例 #1
0
ファイル: Resource.php プロジェクト: nemphys/magento2
 /**
  * Check if tree has entity only attributes
  *
  * @return bool
  */
 public function hasEntityOnlyAttributes()
 {
     return $this->_treeModel->getHasEntityOnlyAttributes();
 }
コード例 #2
0
ファイル: Resources.php プロジェクト: par-orillonsoft/Magento
 /**
  * Check if everything is allowed
  *
  * @return boolean
  */
 public function getEverythingAllowed()
 {
     $this->_prepareTreeModel();
     return $this->_treeModel->getEverythingAllowed();
 }