public function isContentStatusTransitionAllowed($fromStatus, $toStatus, $contenttype, $contentid = null)
    {
        $user = $this->getCurrentUser();

        return $this->app['permissions']->isContentStatusTransitionAllowed($fromStatus, $toStatus, $user, $contenttype, $contentid);
    }
public function isContentStatusTransitionAllowed($fromStatus, $toStatus, $contenttype, $contentid = null)
    {
        $user = $this->getCurrentUser();

        return $this->app['permissions']->isContentStatusTransitionAllowed($fromStatus, $toStatus, $user, $contenttype, $contentid);
    }
public function isContentStatusTransitionAllowed ( $ fromStatus , $ toStatus , $ contenttype , $ contentid = null ) { $ user = $ this -> getCurrentUser ( ) ; return $ this -> app [ 'permissions' ] -> isContentStatusTransitionAllowed ( $ fromStatus , $ toStatus , $ user , $ contenttype , $ contentid ) ; }
Check to see if the current user can change the status on the record.

@param string $fromStatus
@param string $toStatus
@param string $contenttype
@param string $contentid

@return bool
Check to see if the current user can change the status on the record .