kernel/private/classes/ezpcontentpublishingprocess.php
public static function queue( eZContentObjectVersion $version )
    {
        $row = array(
            'ezcontentobject_version_id' => $version->attribute( 'id' ),
            'created' => time(),
            'status' => self::STATUS_PENDING,
         );
        $processObject = new self( $row );
        $processObject->store();

        return $processObject;
    }
public static function queue( eZContentObjectVersion $version )
    {
        $row = array(
            'ezcontentobject_version_id' => $version->attribute( 'id' ),
            'created' => time(),
            'status' => self::STATUS_PENDING,
         );
        $processObject = new self( $row );
        $processObject->store();

        return $processObject;
    }
public static function queue ( eZContentObjectVersion $ version ) { $ row = array ( 'ezcontentobject_version_id' => $ version -> attribute ( 'id' ) , 'created' => time ( ) , 'status' => self :: STATUS_PENDING , ) ; $ processObject = new self ( $ row ) ; $ processObject -> store ( ) ; return $ processObject ; }
Adds a version to the publishing queue
@param eZContentObjectVersion $version
@return ezpContentPublishingProcess
Adds a version to the publishing queue