18 require_once SQ_CORE_PACKAGE_PATH.
'/page/page.inc';
19 require_once SQ_FUDGE_PATH.
'/general/text.inc';
45 parent::__construct($assetid);
60 protected function _getName($short_name=FALSE, $contextid=NULL)
63 if ($contextid === NULL) {
64 $contextid = $GLOBALS[
'SQ_SYSTEM']->getContextId();
68 $values = $GLOBALS[
'SQ_SYSTEM']->am->getAttributeValuesByName(
'name', $this->
type(), Array($this->
id), $contextid);
69 if (empty($values) === TRUE) {
70 return parent::_getName($short_name, $contextid);
72 return $values[$this->id];