public function delete(string $key) : bool
 {
     return redirectDeleteData($key);
 }
Example #2
0
                </div>
            </div>
            <div class="row">
                <div class="col-md-12">
                    <a href="<?php 
echo siteUrl("haber/form");
?>
" class="btn btn-warning pull-right"><span class="glyphicon glyphicon-plus"></span> YENİ HABER EKLE </a>
                </div>
            </div>
            <div class="row">
                <div class="col-md-12">
                    <div class="table-responsive">
                        <?php 
echo redirectData('uyari');
redirectDeleteData('uyari');
?>
                        <table class="table table-striped table-bordered table-hover">
                            <thead>
                            <tr>
                                <th>ID</th>
                                <th>Başlık</th>
                                <th>Tarih</th>
                                <th>Durum</th>
                                <th></th>
                            </tr>
                            </thead>
                            <tbody>
                            <?php 
foreach ($haberler as $haber) {
    ?>
Example #3
0
 public function delete($key = '')
 {
     return redirectDeleteData($key);
 }