Changeset 12873
- Timestamp:
- 11/10/08 13:15:31 (8 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.2/lib/widget/sfWidgetFormDateRange.class.php
r11671 r12873 61 61 )); 62 62 } 63 64 /** 65 * Gets the stylesheet paths associated with the widget. 66 * 67 * @return array An array of stylesheet paths 68 */ 69 public function getStylesheets() 70 { 71 return array_unique(array_merge($this->getOption('from_date')->getStylesheets(), $this->getOption('to_date')->getStylesheets())); 72 } 73 74 /** 75 * Gets the JavaScript paths associated with the widget. 76 * 77 * @return array An array of JavaScript paths 78 */ 79 public function getJavaScripts() 80 { 81 return array_unique(array_merge($this->getOption('from_date')->getJavaScripts(), $this->getOption('to_date')->getJavaScripts())); 82 } 63 83 }

