17 require_once SQ_INCLUDE_PATH.
'/asset.inc';
51 $this->state = Array();
52 $this->
Asset($assetid);
192 protected function _getName($short_name=FALSE, $contextid=NULL)
195 if ($contextid === NULL) {
196 $contextid = $GLOBALS[
'SQ_SYSTEM']->getContextId();
200 $values = $GLOBALS[
'SQ_SYSTEM']->am->getAttributeValuesByName(
'name', $this->
type(), Array($this->
id), $contextid);
201 if (empty($values) === TRUE) {
202 return parent::_getName($short_name, $contextid);
204 return $values[$this->id];