function cl_save($cache_for = null)
{
    return clCache::save($cache_for);
}
Exemple #2
0
        //$api->info()
        ?>
		<!-- use xpath to grab all of the <entry> elements -->
		<ul>
		<?php 
        foreach ($api->xpath('//feed:entry') as $entry) {
            ?>
			<!-- for each entry element, grab the alternate link and the content -->
			<?php 
            $content = $entry->first('feed:content')->__toString();
            $content = substr($content, 5, strlen($content) - 5);
            $href = $entry->first('feed:link[@rel="alternate"]/@href');
            ?>
	
			<li><?php 
            echo $content;
            ?>
 <a href="<?php 
            echo $href;
            ?>
">&raquo;</a></li>
		<?php 
        }
        ?>
		</ul>
		<?php 
        clCache::save();
        ?>
	<?php 
    }
}
 function save()
 {
     clCache::save();
 }