* @license PHP License * @package WB * @subpackage Tag */ WBClass::load('WBDatasource_Calendar_Holiday'); /** * Public Holiday Importer * * @version 0.1.0 * @package WB * @subpackage db */ class WBDatasource_Calendar_Holiday_Importer extends WBStdClass { /** * @var WBDatasource_Calendar_Holiday */ protected $holiday; /** * Constructor * * @param array $parameter */ final public function __construct($parameter = array()) { $this->holiday = WBClass::create('WBDatasource_Calendar_Holiday'); } /** * Second Constructor */ protected function init() { } /** * Update Holiday Database four Year * * @param string year string */ final public function update($year = '') { if (empty($year)) { $year = date('Y'); } $this->updateYear($year); } /** * Update Holiday List 4 Year * * @param int */ protected function updateYear($year) { } }