Plugin calendar example - (added in v 2.3)

This example also demonstrate how to use plugin that are applied to static html elements like div/span etc instead of form elements

  
                            $pdocrud = new PDOCrud();
                            $pdocrud->addPlugin("fullcalendar");
                            $pdomodel = $pdocrud->getPDOModelObj();
                            $data["events"] = $pdomodel->executeQuery("select event_id as id, event_title as title, event_date_and_time as start,event_end_date_time as end from eventtable");
                            $html_data = array("
"); echo $pdocrud->render("HTML", $html_data); echo $pdocrud->loadPluginJsCode("fullcalendar","#fullcalendar",$data);//to add plugin call on input[type=text] elements

Plugin calendar example - PDOCrud


Deprecated: Required parameter $field follows optional parameter $op in /home/javad/domains/javadfk.ir/public_html/pdocrud/script/classes/PDOCrud.php on line 924

Deprecated: Required parameter $task follows optional parameter $op in /home/javad/domains/javadfk.ir/public_html/pdocrud/script/classes/PDOCrud.php on line 924

Deprecated: Required parameter $totalrecords follows optional parameter $page in /home/javad/domains/javadfk.ir/public_html/pdocrud/script/classes/PDOCrudHelper.php on line 191