Created
September 18, 2013 08:08
-
-
Save hubertusanton/6606096 to your computer and use it in GitHub Desktop.
Revisions
-
hubertusanton created this gist
Sep 18, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ public function AllChildrenInDateRegion() { return VacaturePage::get()->filter( array( 'ParentID' => $this->ID, 'DatumFrom:LessThan' => date('Y-m-d').' 00:00:00', 'DatumTo:GreaterThan' => date('Y-m-d').' 23:59:59' ) ); }