protected function _loadPermissions()
    {
        if (empty($this->_permissions)) {
            $permissions = TableRegistry::get('Content.ContentTypePermissions')
                ->find()
                ->where(['content_type_id' => $this->get('id')])
                ->toArray();
            $this->_permissions = collection($permissions);
        }
    }
protected function _loadPermissions()
    {
        if (empty($this->_permissions)) {
            $permissions = TableRegistry::get('Content.ContentTypePermissions')
                ->find()
                ->where(['content_type_id' => $this->get('id')])
                ->toArray();
            $this->_permissions = collection($permissions);
        }
    }
protected function _loadPermissions ( ) { if ( empty ( $ this -> _permissions ) ) { $ permissions = TableRegistry :: get ( 'Content.ContentTypePermissions' ) -> find ( ) -> where ( [ 'content_type_id' => $ this -> get ( 'id' ) ] ) -> toArray ( ) ; $ this -> _permissions = collection ( $ permissions ) ; } }
Loads ll permissions rules for this content type.

@return void
Loads ll permissions rules for this content type .