17 require_once SQ_CORE_PACKAGE_PATH.
'/report/report.inc';
31 register_implementation(
'report_asset_statuses',
'bridge');
44 parent::__construct($assetid);
83 function getLinks($assetid, $link_types, $type_code=
'', $strict_type_code=TRUE, $side_of_link=
'major', $sort_by=NULL)
103 function getParents($assetid, $type_code=
'', $strict_type_code=TRUE)
105 assert_equals($assetid, $this->
id,
'The Asset Statuses Report can only get its own links');
131 function getChildren($assetid, $type_code=
'', $strict_type_code=TRUE, $dependant=NULL, $sort_by=NULL)
133 assert_equals($assetid, $this->
id,
'The Asset Statuses Report can only get its own links');
205 function getAssetInfo($assetids, $type_code=Array(), $strict_type_code=TRUE, $field=
'')
251 function getLink($assetid, $link_type=NULL, $type_code=
'', $strict_type_code=TRUE, $value=NULL, $side_of_link=
'major', $exclusive=NULL)
297 function countLinks($assetid, $side_of_link=
'major', $link_types=0, $type_code=
'', $strict_type_code=TRUE, $ignore_linkid=0)
324 function getLinkByAsset($assetid, $other_assetid, $link_types=NULL, $value=NULL, $side_of_link=
'major', $force_array=FALSE, $dependant=NULL, $exclusive=NULL)
361 function updateLink($linkid, $link_type=NULL, $value=NULL, $sort_order=NULL)
400 function createAssetLink(&$major, &$minor, $link_type, $value=
'', $sort_order=NULL, $dependant=
'0', $exclusive=
'0', $moving=FALSE)