eZ Publish Community Project (Legacy Stack) 2013.4
Interface

ezpAutoloadOutput

interface ezpAutoloadOutput

Interface for classes providing output for autoload generation.

Methods

void outputCli(string $message, string $type)

Outputs a $message on the CLI, and formats it according to type.

void initPhase1()

Sets up the class for handling progress information for file searching phase.

void progressUpdatePhase1()

Pushes an progress update for file searching phase.

void finishPhase1()

Closes down progress update for phase 1

void initPhase2()

Sets up the class for displaying progress information for class search phase.

void progressUpdatePhase2()

Pushes a progress update for class search phase.

void finishPhase2()

Finishes progress output for class search phase.

array getData(int $phase)

Returns data array used to keep statistical information for each $phase.

void updateData(int $phase, array $data)

Updates the internal data array for each $phase

void updateProgress(int $phase)

Calls the correct phase progress update method depending on $phase

Details

at line 26
public void outputCli(string $message, string $type)

Outputs a $message on the CLI, and formats it according to type.

Currently $type of "normal" and "warning" is supported.

Parameters

string $message
string $type

Return Value

void

at line 33
public void initPhase1()

Sets up the class for handling progress information for file searching phase.

Return Value

void

at line 40
public void progressUpdatePhase1()

Pushes an progress update for file searching phase.

Return Value

void

at line 47
public void finishPhase1()

Closes down progress update for phase 1

Return Value

void

at line 53
public void initPhase2()

Sets up the class for displaying progress information for class search phase.

Return Value

void

at line 60
public void progressUpdatePhase2()

Pushes a progress update for class search phase.

Return Value

void

at line 67
public void finishPhase2()

Finishes progress output for class search phase.

Return Value

void

at line 77
public array getData(int $phase)

Returns data array used to keep statistical information for each $phase.

Parameters

int $phase

Return Value

array

See also

eZAutoloadGenerator::OUTPUT_PROGRESS_PHASE1
eZAutoloadGenerator::OUTPUT_PROGRESS_PHASE2

at line 86
public void updateData(int $phase, array $data)

Updates the internal data array for each $phase

Parameters

int $phase
array $data

Return Value

void

at line 94
public void updateProgress(int $phase)

Calls the correct phase progress update method depending on $phase

Parameters

int $phase

Return Value

void