eZ Publish  [trunk]
ezpUrlObjectLinkUpdate Class Reference

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

List of all members.

Public Member Functions

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

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.

Definition at line 68 of file fixezurlobjectlinks.php.


Constructor & Destructor Documentation

ezpUrlObjectLinkUpdate::__construct ( cli,
script,
options 
)

Create a new instance of the ezpUrlObjectLink object.

Parameters:
eZCLI$cli
eZScript$script
array$options

Definition at line 93 of file fixezurlobjectlinks.php.


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

Definition at line 164 of file fixezurlobjectlinks.php.

Referenced by processData().

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

Returns:
void

Definition at line 184 of file fixezurlobjectlinks.php.

Print a summary of all the messages created during processData.

Returns:
void

Definition at line 297 of file fixezurlobjectlinks.php.

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

Returns:
array

Definition at line 123 of file fixezurlobjectlinks.php.

Referenced by processData(), and xmlTextContentObjectAttributeCount().

Retrieve the number of valid ezxmltext occurences.

Returns:
void

Definition at line 147 of file fixezurlobjectlinks.php.

Referenced by __construct(), and processData().


Member Data Documentation

ezpUrlObjectLinkUpdate::$cli

Definition at line 81 of file fixezurlobjectlinks.php.

Referenced by __construct().

ezpUrlObjectLinkUpdate::$doFix

Definition at line 84 of file fixezurlobjectlinks.php.

ezpUrlObjectLinkUpdate::$fetchLimit

Definition at line 75 of file fixezurlobjectlinks.php.

ezpUrlObjectLinkUpdate::$finalOutputMessageArray = array()

Definition at line 79 of file fixezurlobjectlinks.php.

ezpUrlObjectLinkUpdate::$offset

Definition at line 74 of file fixezurlobjectlinks.php.

ezpUrlObjectLinkUpdate::$outputEntryNumber

Definition at line 78 of file fixezurlobjectlinks.php.

ezpUrlObjectLinkUpdate::$processedCount

Definition at line 76 of file fixezurlobjectlinks.php.

ezpUrlObjectLinkUpdate::$script

Definition at line 82 of file fixezurlobjectlinks.php.

Referenced by __construct().

ezpUrlObjectLinkUpdate::$verboseLevel

Definition at line 70 of file fixezurlobjectlinks.php.

ezpUrlObjectLinkUpdate::$xmlAttrCount = null

Definition at line 72 of file fixezurlobjectlinks.php.

ezpUrlObjectLinkUpdate::$xmlClassAttributeIdArray = null

Definition at line 71 of file fixezurlobjectlinks.php.


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