kernel/private/classes/ezpcontentpublishingprocess.php
public static function fetchByContentObjectVersion( $contentObjectId, $version )
    {
        $contentObjectVersion = eZContentObjectVersion::fetchVersion( $version, $contentObjectId );
        if ( $contentObjectVersion instanceof eZContentObjectVersion )
        {
            $return = self::fetchByContentVersionId( $contentObjectVersion->attribute( 'id' ) );
            return $return;
        }
        else
        {
            return false;
        }
    }
public static function fetchByContentObjectVersion( $contentObjectId, $version )
    {
        $contentObjectVersion = eZContentObjectVersion::fetchVersion( $version, $contentObjectId );
        if ( $contentObjectVersion instanceof eZContentObjectVersion )
        {
            $return = self::fetchByContentVersionId( $contentObjectVersion->attribute( 'id' ) );
            return $return;
        }
        else
        {
            return false;
        }
    }
public static function fetchByContentObjectVersion ( $ contentObjectId , $ version ) { $ contentObjectVersion = eZContentObjectVersion :: fetchVersion ( $ version , $ contentObjectId ) ; if ( $ contentObjectVersion instanceof eZContentObjectVersion ) { $ return = self :: fetchByContentVersionId ( $ contentObjectVersion -> attribute ( 'id' ) ) ; return $ return ; } else { return false ; } }
Fetches a process by its content object ID + version
@param int $contentObjectId
@param int $version
@return ezpContentPublishingProcess
Fetches a process by its content object ID + version