public init ( ) |
public function init()
{
//checks for the element id
if (!isset($this->options['id'])) {
$this->options['id'] = $this->getId();
}
//checks for the class
if (!isset($this->options['class'])) {
$this->options['class'] = 'fullcalendar';
}
parent::init();
}
/** * Initializes the widget. * If you override this method, make sure you call the parent implementation first. */ public function init() { //checks for the element id if (!isset($this->options['id'])) { $this->options['id'] = $this->getId(); } //checks for the element id if (!isset($this->options['class'])) { $this->options['class'] = 'fullcalendar'; } parent::init(); }