eZPublishCommunityProject(LegacyStack)  2013.9
ezpUrlObjectLinkUpdate Class Reference

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

Public Member Functions

 __construct ($cli, $script, $options)
 Create a new instance of the ezpUrlObjectLink object. More...
 
 outputString ($message, $label=null, $groupedEntry=false)
 Add a message to the message buffer, to be displayed after processData has completed. More...
 
 processData ()
 Search through valid ezxmltext occurrences, and fix missing url object links if specified. More...
 
 showSummary ()
 Print a summary of all the messages created during processData. More...
 
 xmlClassAttributeIds ()
 Get an array of all defined class attributes with ezxmltext datatype. More...
 
 xmlTextContentObjectAttributeCount ()
 Retrieve the number of valid ezxmltext occurences. More...
 

Public Attributes

 $cli
 
 $doFix
 
 $fetchLimit
 
 $finalOutputMessageArray = array()
 
 $offset
 
 $outputEntryNumber
 
 $processedCount
 
 $script
 
 $verboseLevel
 
 $xmlAttrCount = null
 
 $xmlClassAttributeIdArray = null
 

Detailed Description

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

Constructor & Destructor Documentation

ezpUrlObjectLinkUpdate::__construct (   $cli,
  $script,
  $options 
)

Create a new instance of the ezpUrlObjectLink object.

Parameters
eZCLI$cli
eZScript$script
array$options

Member Function Documentation

ezpUrlObjectLinkUpdate::outputString (   $message,
  $label = null,
  $groupedEntry = false 
)

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

Parameters
string$message
string$label
bool$groupedEntry
Returns
void

Referenced by processData().

ezpUrlObjectLinkUpdate::processData ( )

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

Returns
void
ezpUrlObjectLinkUpdate::showSummary ( )

Print a summary of all the messages created during processData.

Returns
void
ezpUrlObjectLinkUpdate::xmlClassAttributeIds ( )

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

Returns
array

Referenced by processData(), and xmlTextContentObjectAttributeCount().

ezpUrlObjectLinkUpdate::xmlTextContentObjectAttributeCount ( )

Retrieve the number of valid ezxmltext occurences.

Returns
void

Referenced by __construct(), and processData().

Member Data Documentation

ezpUrlObjectLinkUpdate::$cli

Referenced by __construct().

ezpUrlObjectLinkUpdate::$doFix
ezpUrlObjectLinkUpdate::$fetchLimit

Referenced by processData().

ezpUrlObjectLinkUpdate::$finalOutputMessageArray = array()
ezpUrlObjectLinkUpdate::$offset
ezpUrlObjectLinkUpdate::$outputEntryNumber

Referenced by outputString().

ezpUrlObjectLinkUpdate::$processedCount
ezpUrlObjectLinkUpdate::$script

Referenced by __construct().

ezpUrlObjectLinkUpdate::$verboseLevel
ezpUrlObjectLinkUpdate::$xmlAttrCount = null
ezpUrlObjectLinkUpdate::$xmlClassAttributeIdArray = null

Referenced by xmlClassAttributeIds().


The documentation for this class was generated from the following file: