Squiz Matrix  4.12.2
 All Data Structures Namespaces Functions Variables Pages
Structured_Asset_Info_Edit_Fns Class Reference
Inheritance diagram for Structured_Asset_Info_Edit_Fns:
Report_Edit_Fns Page_Edit_Fns Asset_Edit_Fns MySource_Object

Public Member Functions

 __construct ()
 
 paintAssetTypes (Structured_Asset_Info $asset, Backend_Outputter $o, $prefix)
 
 processAssetTypes (Structured_Asset_Info $asset, Backend_Outputter $o, $prefix)
 
 generateReport (HIPO_Job $job, Array &$step_data, $prefix)
 
 startElement ($parser, $tag, $attrs)
 
 tagContent ($parser, $data)
 
 endElement ($parser, $tag)
 
 paintReport (Structured_Asset_Info $asset, Backend_Outputter $o, $prefix)
 
 checkType ($type, Array $allowed_types)
 
 getTreeid ($assetid, $parent_treeid)
 
- Public Member Functions inherited from Report_Edit_Fns
 __construct ()
 
 paintRegenerate (Report $asset, Backend_Outputter $o, $prefix)
 
 processRegenerate (Report $asset, Backend_Outputter $o, $prefix)
 
 paintRootNode (Report $asset, Backend_Outputter $o, $prefix)
 
 processRootNode (Report $asset, Backend_Outputter $o, $prefix)
 
 getRootAssetid (Report $asset)
 
 paintReport (Report $asset, Backend_Outputter $o, $prefix)
 
 processReport (Report $asset, Backend_Outputter $o, $prefix)
 
 generateReport (HIPO_Job $job, Array &$step_data, $prefix)
 
- Public Member Functions inherited from Page_Edit_Fns
 __construct ()
 
- Public Member Functions inherited from Asset_Edit_Fns
 Asset_Edit_Fns ()
 
 paintPaths (&$asset, &$o, $prefix)
 
 paintEditRemapURLs (&$asset, &$o, $prefix)
 
 processPaths (&$asset, &$o, $prefix)
 
 processEditRemapURLs (&$asset, &$o, $prefix)
 
 paintURLs (&$asset, &$o, $prefix)
 
 paintAddRemapURLs (&$asset, &$o, $prefix)
 
 processAddRemapURLs (&$asset, &$o, $prefix)
 
 isWorkflowComplete (&$asset)
 
 paintNoticeLinkedAsset (&$asset, $link_value, $type_codes=Array(), $field_name='', $multiple=FALSE)
 
 processNoticeLinkedAsset (&$asset, $link_value, $field_name='', $multiple=FALSE)
 
 isSearchInstalled (&$asset, $prefix)
 
 isBeingCreated (&$asset)
 
 isNotBeingCreated (&$asset)
 
 paintAutomaticRemapSetting (&$asset, &$o, $prefix)
 
 paintCreateLink (&$asset, &$o, $prefix)
 
- Public Member Functions inherited from MySource_Object
 MySource_Object ()
 
 __sleep ()
 
 __wakeup ()
 

Protected Member Functions

 _generateFieldAssetid (Array $asset_info)
 
 _generateFieldStatus (Array $asset_info)
 
 _generateFieldAssetType (Array $asset_info)
 
 _generateFieldName (Array $asset_info)
 
 _generateFieldCreatedDate (Array $asset_info)
 
 _generateFieldCreatedUser (Array $asset_info)
 
 _generateFieldLastUpdatedDate (Array $asset_info)
 
 _generateFieldLastUpdatedUser (Array $asset_info)
 
 _generateFieldLastPublishedDate (Array $asset_info)
 
 _generateFieldLastPublishedUser (Array $asset_info)
 
 _generateFieldLastStatusChangeDate (Array $asset_info)
 
 _generateFieldLastStatusChangeUser (Array $asset_info)
 
 _generateFieldUrls (Array $asset_info)
 
 _generateFieldDesigns (Array $asset_info)
 
 _generateFieldMetadataSchemas (Array $asset_info)
 
 _generateFieldWorkflowSchemas (Array $asset_info)
 
 _printAssetTagLine ($assetid)
 
 _cData ($character_data)
 
 _paintAsset (Array $current_asset)
 
 _paintFieldShortName ($data, $type_code, $treeid)
 
 _paintFieldAssetid ($data)
 
 _paintFieldStatus ($data)
 
 _paintFieldAssetType ($data)
 
 _paintFieldName ($data)
 
 _paintFieldCreatedDate ($data)
 
 _paintFieldCreatedUser ($data)
 
 _paintFieldLastUpdatedDate ($data)
 
 _paintFieldLastUpdatedUser ($data)
 
 _paintFieldLastPublishedDate ($data)
 
 _paintFieldLastPublishedUser ($data)
 
 _paintFieldLastStatusChangeDate ($data)
 
 _paintFieldLastStatusChangeUser ($data)
 
 _paintFieldUrls ($data)
 
 _paintFieldDesigns ($data)
 
 _paintFieldMetadataSchemas ($data)
 
 _paintFieldWorkflowSchemas ($data)
 

Additional Inherited Members

- Data Fields inherited from Asset_Edit_Fns
 $static_screens
 

Detailed Description

Definition at line 33 of file structured_asset_info_edit_fns.inc.

Constructor & Destructor Documentation

__construct ( )

Constructor

Definition at line 41 of file structured_asset_info_edit_fns.inc.

Member Function Documentation

_cData (   $character_data)
protected

wrap the passed data in a cdata tag

Parameters
string$character_datathe data to be put in the cdata tag
Returns
string private

Definition at line 465 of file structured_asset_info_edit_fns.inc.

_generateFieldAssetid ( Array  $asset_info)
protected

Generate the value of the Assetid field

Parameters
array$asset_infoArray returned by calling getAssetInfo for the current asset
Returns
string private

Definition at line 144 of file structured_asset_info_edit_fns.inc.

_generateFieldAssetType ( Array  $asset_info)
protected

Generate the value of the AssetType field

Parameters
array$asset_infoArray returned by calling getAssetInfo for the current asset
Returns
string private

Definition at line 174 of file structured_asset_info_edit_fns.inc.

_generateFieldCreatedDate ( Array  $asset_info)
protected

Generate the value of the CreateDate field

Parameters
array$asset_infoArray returned by calling getAssetInfo for the current asset
Returns
string private

Definition at line 204 of file structured_asset_info_edit_fns.inc.

_generateFieldCreatedUser ( Array  $asset_info)
protected

Generate the value of the CreateUser field

Parameters
array$asset_infoArray returned by calling getAssetInfo for the current asset
Returns
string private

Definition at line 219 of file structured_asset_info_edit_fns.inc.

_generateFieldDesigns ( Array  $asset_info)
protected

Generate the value of the Designs field

Parameters
array$asset_infoArray returned by calling getAssetInfo for the current asset
Returns
string private

Definition at line 353 of file structured_asset_info_edit_fns.inc.

_generateFieldLastPublishedDate ( Array  $asset_info)
protected

Generate the value of the LastPublishedDate field

Parameters
array$asset_infoArray returned by calling getAssetInfo for the current asset
Returns
string private

Definition at line 264 of file structured_asset_info_edit_fns.inc.

_generateFieldLastPublishedUser ( Array  $asset_info)
protected

Generate the value of the LastPublishedUser field

Parameters
array$asset_infoArray returned by calling getAssetInfo for the current asset
Returns
string private

Definition at line 279 of file structured_asset_info_edit_fns.inc.

_generateFieldLastStatusChangeDate ( Array  $asset_info)
protected

Generate the value of the LastChangeDate field

Parameters
array$asset_infoArray returned by calling getAssetInfo for the current asset
Returns
string private

Definition at line 294 of file structured_asset_info_edit_fns.inc.

_generateFieldLastStatusChangeUser ( Array  $asset_info)
protected

Generate the value of the LastChangeUser field

Parameters
array$asset_infoArray returned by calling getAssetInfo for the current asset
Returns
string private

Definition at line 309 of file structured_asset_info_edit_fns.inc.

_generateFieldLastUpdatedDate ( Array  $asset_info)
protected

Generate the value of the LastUpdatedDate field

Parameters
array$asset_infoArray returned by calling getAssetInfo for the current asset
Returns
string private

Definition at line 234 of file structured_asset_info_edit_fns.inc.

_generateFieldLastUpdatedUser ( Array  $asset_info)
protected

Generate the value of the LastUpdatedUser field

Parameters
array$asset_infoArray returned by calling getAssetInfo for the current asset
Returns
string private

Definition at line 249 of file structured_asset_info_edit_fns.inc.

_generateFieldMetadataSchemas ( Array  $asset_info)
protected

Generate the value of the MetadataSchemas field

Parameters
array$asset_infoArray returned by calling getAssetInfo for the current asset
Returns
string private

Definition at line 402 of file structured_asset_info_edit_fns.inc.

_generateFieldName ( Array  $asset_info)
protected

Generate the value of the Name field

Parameters
array$asset_infoArray returned by calling getAssetInfo for the current asset
Returns
string private

Definition at line 189 of file structured_asset_info_edit_fns.inc.

_generateFieldStatus ( Array  $asset_info)
protected

Generate the value of the Status field

Parameters
array$asset_infoArray returned by calling getAssetInfo for the current asset
Returns
string private

Definition at line 159 of file structured_asset_info_edit_fns.inc.

_generateFieldUrls ( Array  $asset_info)
protected

Generate the value of the Urls field

Parameters
array$asset_infoArray returned by calling getAssetInfo for the current asset
Returns
string private

Definition at line 324 of file structured_asset_info_edit_fns.inc.

_generateFieldWorkflowSchemas ( Array  $asset_info)
protected

Generate the value of the WorkflowSchemas field

Parameters
array$asset_infoArray returned by calling getAssetInfo for the current asset
Returns
string private

Definition at line 424 of file structured_asset_info_edit_fns.inc.

_paintAsset ( Array  $current_asset)
protected

Paint an asset row in the report

Parameters
array$current_assetthe data describing the asset to be painted
Returns
void private

Definition at line 878 of file structured_asset_info_edit_fns.inc.

_paintFieldAssetid (   $data)
protected

Paint the Assetid field

Parameters
string$datathe data belonging to the field
Returns
void private

Definition at line 932 of file structured_asset_info_edit_fns.inc.

_paintFieldAssetType (   $data)
protected

Paint the AssetType field

Parameters
string$datathe data belonging to the field
Returns
void private

Definition at line 965 of file structured_asset_info_edit_fns.inc.

_paintFieldCreatedDate (   $data)
protected

Paint the CreatedDate field

Parameters
string$datathe data belonging to the field
Returns
void private

Definition at line 999 of file structured_asset_info_edit_fns.inc.

_paintFieldCreatedUser (   $data)
protected

Paint the CreatedUser field

Parameters
string$datathe data belonging to the field
Returns
void private

Definition at line 1014 of file structured_asset_info_edit_fns.inc.

_paintFieldDesigns (   $data)
protected

Paint the Designs field

Parameters
string$datathe data belonging to the field
Returns
void private

Definition at line 1134 of file structured_asset_info_edit_fns.inc.

_paintFieldLastPublishedDate (   $data)
protected

Paint the LastPublishedDate field

Parameters
string$datathe data belonging to the field
Returns
void private

Definition at line 1059 of file structured_asset_info_edit_fns.inc.

_paintFieldLastPublishedUser (   $data)
protected

Paint the LastPublishedUser field

Parameters
string$datathe data belonging to the field
Returns
void private

Definition at line 1074 of file structured_asset_info_edit_fns.inc.

_paintFieldLastStatusChangeDate (   $data)
protected

Paint the LastStatusChangeDate field

Parameters
string$datathe data belonging to the field
Returns
void private

Definition at line 1089 of file structured_asset_info_edit_fns.inc.

_paintFieldLastStatusChangeUser (   $data)
protected

Paint the LastStatusChangeUser field

Parameters
string$datathe data belonging to the field
Returns
void private

Definition at line 1104 of file structured_asset_info_edit_fns.inc.

_paintFieldLastUpdatedDate (   $data)
protected

Paint the LastUpdatedDate field

Parameters
string$datathe data belonging to the field
Returns
void private

Definition at line 1029 of file structured_asset_info_edit_fns.inc.

_paintFieldLastUpdatedUser (   $data)
protected

Paint the LastUpdatedUser field

Parameters
string$datathe data belonging to the field
Returns
void private

Definition at line 1044 of file structured_asset_info_edit_fns.inc.

_paintFieldMetadataSchemas (   $data)
protected

Paint the MetadataSchemas field

Parameters
string$datathe data belonging to the field
Returns
void private

Definition at line 1173 of file structured_asset_info_edit_fns.inc.

_paintFieldName (   $data)
protected

Paint the Name field

Parameters
string$datathe data belonging to the field
Returns
void private

Definition at line 984 of file structured_asset_info_edit_fns.inc.

_paintFieldShortName (   $data,
  $type_code,
  $treeid 
)
protected

Paint the ShortName field

Parameters
string$datathe data to paint
string$type_codethe type of this asset for icon display
string$treeidthe treeid of this asset for indenting
Returns
void private

Definition at line 913 of file structured_asset_info_edit_fns.inc.

_paintFieldStatus (   $data)
protected

Paint the Status field

Parameters
string$datathe data belonging to the field
Returns
void private

Definition at line 947 of file structured_asset_info_edit_fns.inc.

_paintFieldUrls (   $data)
protected

Paint the Urls field

Parameters
string$datathe data belonging to the field
Returns
void private

Definition at line 1119 of file structured_asset_info_edit_fns.inc.

_paintFieldWorkflowSchemas (   $data)
protected

Paint the WorkflowSchemas field

Parameters
string$datathe data belonging to the field
Returns
void private

Definition at line 1192 of file structured_asset_info_edit_fns.inc.

_printAssetTagLine (   $assetid)
protected

Wraps the get_asset_tag_line function in an empty check

Parameters
string$assetidthe asset to print
Returns
string private

Definition at line 446 of file structured_asset_info_edit_fns.inc.

checkType (   $type,
Array  $allowed_types 
)

Check whether we should report on assets of the given type

Parameters
string$typethe type to check
array$allowed_typesthe allowed asset types in the format Array(type => 1/0)
Returns
boolean private

Definition at line 1212 of file structured_asset_info_edit_fns.inc.

endElement (   $parser,
  $tag 
)

Process an end element from the XML parser

Parameters
object$parserthe calling xml parser
string$tagtag name
Returns
boolean public

Definition at line 786 of file structured_asset_info_edit_fns.inc.

generateReport ( HIPO_Job  $job,
Array &  $step_data,
  $prefix 
)

Generate this report until complete

Parameters
object&$jobthe relevant HIPO job
array&$step_dataa reference to the array of information about the current step of the HIPO job that is running this report
string$prefixprefix for form vars
Returns
boolean public

Definition at line 482 of file structured_asset_info_edit_fns.inc.

getTreeid (   $assetid,
  $parent_treeid 
)

Get the treeid for an asset that contains a particular sub tree

Parameters
string$assetidthe assetid of the asset for which to find a treeid
string$parent_treeida treeid which must be a substring of the returned treeid
Returns
string private

Definition at line 1245 of file structured_asset_info_edit_fns.inc.

paintAssetTypes ( Structured_Asset_Info  $asset,
Backend_Outputter  $o,
  $prefix 
)

Paint the interface for choosing which asset types to list

Parameters
Structured_Asset_Info$assetthe asset whose interface we are painting
Backend_Outputter$othe outputter class
string$prefixprefix for the form elements
Returns
boolean public

Definition at line 58 of file structured_asset_info_edit_fns.inc.

paintReport ( Structured_Asset_Info  $asset,
Backend_Outputter  $o,
  $prefix 
)

Paint the interface for viewing a report

Parameters
Structured_Asset_Info$assetthe asset whose interface we are painting
Backend_Outputter$othe outputter class
string$prefixprefix for the form elements
Returns
boolean public

Definition at line 820 of file structured_asset_info_edit_fns.inc.

processAssetTypes ( Structured_Asset_Info  $asset,
Backend_Outputter  $o,
  $prefix 
)

Process the asset types to list

Parameters
Structured_Asset_Info$assetthe asset whose interface we are painting
Backend_Outputter$othe outputter class
string$prefixprefix for the form elements
Returns
boolean public

Definition at line 117 of file structured_asset_info_edit_fns.inc.

startElement (   $parser,
  $tag,
  $attrs 
)

Process a start element from the XML parser

Parameters
object$parserthe calling xml parser
string$tagtag name
array$attrstag attributes
Returns
boolean public

Definition at line 693 of file structured_asset_info_edit_fns.inc.

tagContent (   $parser,
  $data 
)

Process tag contents from the XML parser

Parameters
object$parserthe calling xml parser
string$datathe character data from the parser
Returns
boolean public

Definition at line 735 of file structured_asset_info_edit_fns.inc.


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