17 require_once SQ_CORE_PACKAGE_PATH.
'/folder/folder.inc';
42 $this->_ser_attrs = TRUE;
43 parent::__construct($assetid);
58 SQ_LINK_TYPE_1 => Array(),
59 SQ_LINK_TYPE_2 => Array(
'metadata_field' => Array(
'card' =>
'M',
'dependant' => TRUE)),
60 SQ_LINK_TYPE_3 => Array(),
61 SQ_LINK_NOTICE => Array(),
87 public function prepareLink(
Asset $asset, $side_of_link, &$link_type, &$value, &$sort_order, &$dependant, &$exclusive)
90 if ($side_of_link ==
'major' && ($asset instanceof
Metadata_Field) && ($dependant !=
'1' || $exclusive ==
'1')) {
91 $link_type = SQ_LINK_TYPE_2;