Class

ezpUrlObjectLinkUpdate

class ezpUrlObjectLinkUpdate

Utility class to help fix occurrences of external http-links not correctly associated with all versions/translations of an object

Properties

$verboseLevel
$xmlClassAttributeIdArray
$xmlAttrCount
$offset
$fetchLimit
$processedCount
$outputEntryNumber
$finalOutputMessageArray
$cli
$script
$doFix

Methods

__construct(eZCLI $cli, eZScript $script, array $options)

Create a new instance of the ezpUrlObjectLink object.

array xmlClassAttributeIds()

Get an array of all defined class attributes with ezxmltext datatype.

void xmlTextContentObjectAttributeCount()

Retrieve the number of valid ezxmltext occurences

void outputString(string $message, string $label = null, bool $groupedEntry = false)

Add a message to the message buffer, to be displayed after processData has completed.

void processData()

Search through valid ezxmltext occurrences, and fix missing url object links if specified.

void showSummary()

Print a summary of all the messages created during processData.

Details

at line 93
public __construct(eZCLI $cli, eZScript $script, array $options)

Create a new instance of the ezpUrlObjectLink object.

Parameters

eZCLI $cli
eZScript $script
array $options

at line 123
public array xmlClassAttributeIds()

Get an array of all defined class attributes with ezxmltext datatype.

Return Value

array

at line 147
public void xmlTextContentObjectAttributeCount()

Retrieve the number of valid ezxmltext occurences

Return Value

void

at line 164
public void outputString(string $message, string $label = null, bool $groupedEntry = false)

Add a message to the message buffer, to be displayed after processData has completed.

Parameters

string $message
string $label
bool $groupedEntry

Return Value

void

at line 184
public void processData()

Search through valid ezxmltext occurrences, and fix missing url object links if specified.

Return Value

void

at line 297
public void showSummary()

Print a summary of all the messages created during processData.

Return Value

void