public function getWorkflowHistoryFor($item, $limit = null)
    {
        if ($active = $this->getWorkflowFor($item, true)) {
            $limit = $limit ? "0,$limit" : '';
            return $active->Actions('', 'ID DESC ', null, $limit);
        }
    }
public function getWorkflowHistoryFor($item, $limit = null)
    {
        if ($active = $this->getWorkflowFor($item, true)) {
            $limit = $limit ? "0,$limit" : '';
            return $active->Actions('', 'ID DESC ', null, $limit);
        }
    }
public function getWorkflowHistoryFor ( $ item , $ limit = null ) { if ( $ active = $ this -> getWorkflowFor ( $ item , true ) ) { $ limit = $ limit ? "0,$limit" : '' ; return $ active -> Actions ( '' , 'ID DESC ' , null , $ limit ) ; } }
Get all the workflow action instances for an item

@return DataList|null
Get all the workflow action instances for an item