PHP Classes
elePHPant
Icontem

File: View/Articles/index.ctp

Recommend this page to a friend!
  Classes of Andraž  >  pingvincek  >  View/Articles/index.ctp  >  Download  
File: View/Articles/index.ctp
Role: Example script
Content type: text/plain
Description: Example script
Class: pingvincek
Manage a site for organizing dates between people
Author: By
Last change:
Date: 8 months ago
Size: 350 bytes
 

Contents

Class file image Download
<?php
echo $this->Html->meta(
       
'description', 'Raznorazni ?lanki o spletnih zmenkarija, ter ostalih zanimivih temah.'
);
?>

<h1>?lanki</h1>

<p>
    <?php
       
foreach ($articles as $article)
        {
            echo
$this->Html->link($article['Article']['title'], array('action'=>'view', $article['Article']['slug'], 'admin' => FALSE)) . '<br>';
        }
   
?>
</p>