18 define(
'SPOTLIGHT_TYPE_BOOK', 3);
19 define(
'SPOTLIGHT_TYPE_SERIES', 4);
20 define(
'MAX_SPOTLIGHTS_VISIBLE', 3);
27 parent::__construct();
39 return $this->
getData(
'assocId');
47 return $this->
setData(
'assocId', $assocId);
55 return $this->
getData(
'assocType');
63 return $this->
setData(
'assocType', $assocType);
71 return $this->
getData(
'pressId');
79 return $this->
setData(
'pressId', $pressId);
96 return $this->
getData(
'title', $locale);
105 return $this->
setData(
'title', $title, $locale);
122 return $this->
getData(
'description', $locale);
131 return $this->
setData(
'description', $description, $locale);
139 $spotlightTypes = array(
140 SPOTLIGHT_TYPE_BOOK => __(
'grid.content.spotlights.form.type.book'),
141 SPOTLIGHT_TYPE_SERIES => __(
'series.series'),
153 case SPOTLIGHT_TYPE_BOOK:
156 case SPOTLIGHT_TYPE_SERIES: