[ Index ]

PHP Cross Reference of Zikula Core 1.3.2

title

Body

[close]

/themes/Atom/plugins/ -> function.updated.php (source)

   1  <?php
   2  /**
   3   * Copyright Zikula Foundation 2009 - Zikula Application Framework
   4   *
   5   * This work is contributed to the Zikula Foundation under one or more
   6   * Contributor Agreements and licensed to You under the following license:
   7   *
   8   * @license GNU/LGPLv3 (or at your option, any later version).
   9   * @package Zikula
  10   *
  11   * Please see the NOTICE file distributed with this source code for further
  12   * information regarding copyright and licensing.
  13   */
  14  
  15  /**
  16   * Smarty function to generate a valid atom ID for the feed
  17   *
  18   * Example
  19   *
  20   *   <updated>{updated}</updated>
  21   *
  22   * @return       string the atom ID
  23   */
  24  function smarty_function_updated($params, &$smarty)
  25  {
  26      return strftime('%Y-%m-%dT%H:%M:%SZ', $GLOBALS['atom_feed_lastupdated']);
  27  }


Generated: Mon Feb 20 12:35:30 2012 Cross-referenced by PHPXref 0.7.1