/** * Sets a new tracking process, if self::$process_name which is passed to the * method call differs from the stored value inside the class member. * * @param $process_name * @param $total_num_items * @param $num_items_per_iteration */ public static function set_new_tracking_process($process_name, $total_num_items, $num_items_per_iteration) { self::$process_name = $process_name; self::$total_num_items = $total_num_items; self::$num_items_per_iteration = $num_items_per_iteration; self::$process_start_timestamp = time(); self::$num_iteration = 0; }