FOF30\Model\DataModel::setAssetsTracked PHP Method

setAssetsTracked() public method

We have to do this since the automatic check is made in the constructor, but here we can't set any alias. So, even if you have an alias for asset_id, it wouldn't be reconized and assets won't be tracked.
public setAssetsTracked ( $state )
$state
    public function setAssetsTracked($state)
    {
        $state = (bool) $state;
        if ($state) {
            \JLoader::import('joomla.access.rules');
        }
        $this->_trackAssets = $state;
    }