BxDolFilesModule::checkActions PHP Method

checkActions() public method

public checkActions ( )
    function checkActions()
    {
        $aActionList = $this->_oConfig->getActionArray();
        if (!is_array($_POST['entry'])) {
            return;
        }
        foreach ($aActionList as $sKey => $aValue) {
            if (isset($_POST[$sKey]) && method_exists($this, $aValue['method'])) {
                foreach ($_POST['entry'] as $iValue) {
                    $sComm = '$this->' . $aValue['method'] . '(' . (int) $iValue . ');';
                    eval($sComm);
                }
                break;
            }
        }
    }