Class

ezpUrlObjectLinkRemove

class ezpUrlObjectLinkRemove

Utility class to help remove occurrences of external http-links that are removed from 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.

int 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 91
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 121
public array xmlClassAttributeIds()

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

Return Value

array

at line 145
public int xmlTextContentObjectAttributeCount()

Retrieve the number of valid ezxmltext occurences

Return Value

int

at line 162
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 182
public void processData()

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

Return Value

void

at line 276
public void showSummary()

Print a summary of all the messages created during processData.

Return Value

void