| 1 |
<?php |
| 2 |
|
| 3 |
class Test_Vimeography_Shortcode extends Vimeography_Shortcode |
| 4 |
{ |
| 5 |
/** |
| 6 |
* Determines which gallery settings to use based on the provided |
| 7 |
* shortcode settings, the existing gallery db settings, and the |
| 8 |
* fallback gallery settings. |
| 9 |
* |
| 10 |
* @return array The gallery settings to be used to render the current gallery. |
| 11 |
*/ |
| 12 |
public static function _apply_shortcode_gallery_settings($atts) { |
| 13 |
return parent::_apply_shortcode_gallery_settings($atts); |
| 14 |
} |
| 15 |
|
| 16 |
/** |
| 17 |
* Verifies that the provided width setting is a valid CSS parameter |
| 18 |
* |
| 19 |
* @param string $width |
| 20 |
* @return string A percentage, pixel-based, or empty width value. |
| 21 |
*/ |
| 22 |
public static function _validate_gallery_width($width) { |
| 23 |
return parent::_validate_gallery_width($width); |
| 24 |
} |
| 25 |
|
| 26 |
/** |
| 27 |
* Load any custom CSS files that have been generated by the |
| 28 |
* Vimegraphy theme customization tools. |
| 29 |
* |
| 30 |
* @return void |
| 31 |
*/ |
| 32 |
public function _vimeography_enqueue_custom_stylesheets() { |
| 33 |
return $this->_vimeography_enqueue_custom_stylesheets(); |
| 34 |
} |
| 35 |
} |