Exemplo n.º 1
0
 public function display($idstring = "")
 {
     if ($idstring != "") {
         $options = phoneme_unserialize(widgetOptions($idstring)->options);
     }
     include __DIR__ . "/display.php";
 }
Exemplo n.º 2
0
 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";
 }