18 require_once SQ_CORE_PACKAGE_PATH.
'/content_type/content_type.inc';
43 $this->_ser_attrs = TRUE;
44 parent::__construct($assetid);
58 $page_links = parent::_getAllowedLinks();
59 $page_links[SQ_LINK_NOTICE][
'image'] = Array(
'card' =>
'M',
'exclusive' => FALSE);
60 $page_links[SQ_LINK_NOTICE][
'image_variety'] = Array(
'card' =>
'M',
'exclusive' => FALSE);
77 $current_link = $GLOBALS[
'SQ_SYSTEM']->am->getLink($this->
id, SQ_LINK_NOTICE,
'', FALSE,
'image_link');
78 if (!empty($current_link)) {
79 $GLOBALS[
'SQ_SYSTEM']->am->deleteAssetLink($current_link[
'linkid']);
81 return parent::morph($new_type_code);