18 require_once SQ_INCLUDE_PATH.
'/asset.inc';
19 require_once SQ_PACKAGES_PATH.
'/data/data_source_db/data_source_db.inc';
44 parent::__construct($assetid);
59 protected function _getName($short_name=FALSE, $contextid=NULL)
62 if ($contextid === NULL) {
63 $contextid = $GLOBALS[
'SQ_SYSTEM']->getContextId();
67 $values = $GLOBALS[
'SQ_SYSTEM']->am->getAttributeValuesByName(
'name', $this->
type(), Array($this->
id), $contextid);
68 if (empty($values) === TRUE) {
69 return parent::_getName($short_name, $contextid);
71 return $values[$this->id];
86 return $asset->constructDSNArray($this);