kernel/private/classes/ezpcontentpublishingprocess.php
public static function fetchProcesses( $status )
    {
        if ( !in_array( $status, array( self::STATUS_FINISHED, self::STATUS_PENDING, self::STATUS_WORKING ) ) )
            throw new ezcBaseValueException( '$status', $status, array( self::STATUS_FINISHED, self::STATUS_PENDING, self::STATUS_WORKING ), 'parameter' );

        return parent::fetchObjectList( self::definition(), false,
            array( 'status' => $status ),
            array( 'created' => 'asc' ) );
    }
public static function fetchProcesses( $status )
    {
        if ( !in_array( $status, array( self::STATUS_FINISHED, self::STATUS_PENDING, self::STATUS_WORKING ) ) )
            throw new ezcBaseValueException( '$status', $status, array( self::STATUS_FINISHED, self::STATUS_PENDING, self::STATUS_WORKING ), 'parameter' );

        return parent::fetchObjectList( self::definition(), false,
            array( 'status' => $status ),
            array( 'created' => 'asc' ) );
    }
public static function fetchProcesses ( $ status ) { if ( ! in_array ( $ status , array ( self :: STATUS_FINISHED , self :: STATUS_PENDING , self :: STATUS_WORKING ) ) ) throw new ezcBaseValueException ( '$status' , $ status , array ( self :: STATUS_FINISHED , self :: STATUS_PENDING , self :: STATUS_WORKING ) , 'parameter' ) ; return parent :: fetchObjectList ( self :: definition ( ) , false , array ( 'status' => $ status ) , array ( 'created' => 'asc' ) ) ; }
Fetches processes, filtered by status
@param int $status One of ezpContentPublishingProcess::STATUS_*
@return array( ezpContentPublishingProcess )
Fetches processes filtered by status