예제 #1
0
 public function display($idstring = "")
 {
     if ($idstring != "") {
         $options = phoneme_unserialize(widgetOptions($idstring)->options);
     }
     include __DIR__ . "/display.php";
 }
예제 #2
0
파일: Calendar.php 프로젝트: PhonemeCms/cms
 public function display($idstring = "")
 {
     if ($idstring != "") {
         $options = phoneme_unserialize(widgetOptions($idstring)->options);
     }
     $post_numbers = $options['sometext'];
     $posts = Post::orderBy("id", "desc")->take($post_numbers)->get();
     include __DIR__ . "/display.php";
 }