Changeset 2006 for trunk/modules/media/helpers/media.php
- Timestamp:
- 02/09/2008 12:23:27 AM (11 months ago)
- Files:
-
- 1 modified
-
trunk/modules/media/helpers/media.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/media/helpers/media.php
r1809 r2006 1 1 <?php defined('SYSPATH') or die('No direct script access.'); 2 2 /** 3 * Class: media 4 * Media helper class. 5 * 6 * Kohana Source Code: 7 * author - Kohana Team 8 * copyright - (c) 2007 Kohana Team 9 * license - <http://kohanaphp.com/license.html> 10 */ 3 * Media helper class. 4 * 5 * $Id$ 6 * 7 * @package Media Module 8 * @author Kohana Team 9 * @copyright (c) 2007-2008 Kohana Team 10 * @license http://kohanaphp.com/license.html 11 */ 11 12 class media_Core { 13 12 14 /** 13 * Method: stylesheet 14 * Creates a stylesheet link. 15 * 16 * Parameters: 17 * style - filename, or array of filenames (do not include path) 18 * media - media type of stylesheet 19 * index - include the index_page in the link 20 * 21 * Returns: 22 * An HTML stylesheet link. 23 */ 15 * Creates a stylesheet link. 16 * 17 * @param string|array filename, or array of filenames (do not include path) 18 * @param string media type of stylesheet 19 * @param boolean include the index_page in the link 20 * @return string 21 */ 24 22 public static function stylesheet($style, $media = FALSE, $index = TRUE) 25 23 {
