Net_Gearman
[ class tree: Net_Gearman ] [ index: Net_Gearman ] [ all elements ]

Class: Net_Gearman_Job_Sum

Source Location: /Net_Gearman-0.1.1/examples/Sum.php

Class Overview

Net_Gearman_Job_Common
   |
   --Net_Gearman_Job_Sum

Sum up a bunch of numbers


Author(s):

Copyright:

  • 2007-2008 Digg.com, Inc.

Methods


Inherited Variables

Inherited Methods

Class: Net_Gearman_Job_Common

Net_Gearman_Job_Common::__construct()
Constructor
Net_Gearman_Job_Common::complete()
Mark your job as complete with its status
Net_Gearman_Job_Common::fail()
Mark your job as failing
Net_Gearman_Job_Common::run()
Run your job here
Net_Gearman_Job_Common::status()
Update Gearman with your job's status

Class Details

[line 9]
Sum up a bunch of numbers


[ Top ]


Method Detail

run   [line 18]

array run( array $arg)

Run the summing job
  • Access: public

Overrides Net_Gearman_Job_Common::run() (Run your job here)

Parameters:

array   $arg   — 

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:21:40 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.