kernel/private/classes/ezpcontentpublishingqueue.php
public static function add( $objectId, $version )
    {
        self::init();
        self::signals()->emit( 'preQueue', $version, $objectId );
        $processObject = ezpContentPublishingProcess::queue( eZContentObjectVersion::fetchVersion( $version, $objectId ) );

        return $processObject;
    }
public static function add( $objectId, $version )
    {
        self::init();
        self::signals()->emit( 'preQueue', $version, $objectId );
        $processObject = ezpContentPublishingProcess::queue( eZContentObjectVersion::fetchVersion( $version, $objectId ) );

        return $processObject;
    }
public static function add ( $ objectId , $ version ) { self :: init ( ) ; self :: signals ( ) -> emit ( 'preQueue' , $ version , $ objectId ) ; $ processObject = ezpContentPublishingProcess :: queue ( eZContentObjectVersion :: fetchVersion ( $ version , $ objectId ) ) ; return $ processObject ; }
Adds a draft to the publishing queue

@param int $objectId
@param int $version

@return ezpContentPublishingProcess
Adds a draft to the publishing queue