Changeset 56
- Timestamp:
- 11/05/05 14:25:29 (8 years ago)
- Files:
-
- trunk/lib/symfony/helper/AssetHelper.php (modified) (1 diff)
- trunk/lib/symfony/helper/CacheHelper.php (modified) (1 diff)
- trunk/lib/symfony/helper/DateHelper.php (modified) (1 diff)
- trunk/lib/symfony/helper/FormHelper.php (modified) (1 diff)
- trunk/lib/symfony/helper/HelperHelper.php (modified) (1 diff)
- trunk/lib/symfony/helper/I18NHelper.php (modified) (1 diff)
- trunk/lib/symfony/helper/JavascriptHelper.php (modified) (1 diff)
- trunk/lib/symfony/helper/NumberHelper.php (modified) (1 diff)
- trunk/lib/symfony/helper/ObjectHelper.php (modified) (1 diff)
- trunk/lib/symfony/helper/PartialHelper.php (modified) (1 diff)
- trunk/lib/symfony/helper/TagHelper.php (modified) (1 diff)
- trunk/lib/symfony/helper/TextHelper.php (modified) (1 diff)
- trunk/lib/symfony/helper/UrlHelper.php (modified) (1 diff)
- trunk/lib/symfony/helper/ValidationHelper.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/lib/symfony/helper/AssetHelper.php
r31 r56 1 1 <?php 2 2 3 // +---------------------------------------------------------------------------+ 4 // | This file is part of the SymFony Framework project. | 5 // | Copyright (c) 2004, 2005 Fabien POTENCIER. | 6 // +---------------------------------------------------------------------------+ 3 /* 4 * This file is part of the symfony package. 5 * (c) 2004, 2005 Fabien Potencier <fabien.potencier@symfony-project.com> 6 * 7 * For the full copyright and license information, please view the LICENSE 8 * file that was distributed with this source code. 9 */ 7 10 8 11 /** 12 * AssetHelper. 9 13 * 10 * @package sf_runtime14 * @package symfony 11 15 * @subpackage helper 12 * 13 * @author Fabien POTENCIER (fabien.potencier@symfony-project.com) 14 * (c) Fabien POTENCIER 15 * @since 1.0.0 16 * @version $Id: AssetHelper.php 495 2005-10-05 15:42:11Z fabien $ 16 * @author Fabien Potencier <fabien.potencier@symfony-project.com> 17 * @version SVN: $Id$ 17 18 */ 18 19 trunk/lib/symfony/helper/CacheHelper.php
r31 r56 1 1 <?php 2 2 3 // +---------------------------------------------------------------------------+ 4 // | This file is part of the SymFony Framework project. | 5 // | Copyright (c) 2004, 2005 Fabien POTENCIER. | 6 // +---------------------------------------------------------------------------+ 3 /* 4 * This file is part of the symfony package. 5 * (c) 2004, 2005 Fabien Potencier <fabien.potencier@symfony-project.com> 6 * 7 * For the full copyright and license information, please view the LICENSE 8 * file that was distributed with this source code. 9 */ 7 10 8 11 /** 12 * CacheHelper. 9 13 * 10 * @package sf_runtime14 * @package symfony 11 15 * @subpackage helper 12 * 13 * @author Fabien POTENCIER (fabien.potencier@symfony-project.com) 14 * (c) Fabien POTENCIER 15 * @since 1.0.0 16 * @version $Id: CacheHelper.php 375 2005-08-25 10:46:12Z fabien $ 16 * @author Fabien Potencier <fabien.potencier@symfony-project.com> 17 * @version SVN: $Id$ 17 18 */ 18 19 trunk/lib/symfony/helper/DateHelper.php
r1 r56 1 1 <?php 2 3 /* 4 * This file is part of the symfony package. 5 * (c) 2004, 2005 Fabien Potencier <fabien.potencier@symfony-project.com> 6 * 7 * For the full copyright and license information, please view the LICENSE 8 * file that was distributed with this source code. 9 */ 10 11 /** 12 * DateHelper. 13 * 14 * @package symfony 15 * @subpackage helper 16 * @author Fabien Potencier <fabien.potencier@symfony-project.com> 17 * @version SVN: $Id$ 18 */ 2 19 3 20 function format_daterange($start_date, $end_date, $format = 'd', $full_text, $start_text, $end_text, $culture = null) trunk/lib/symfony/helper/FormHelper.php
r53 r56 3 3 require_once('symfony/helper/ValidationHelper.php'); 4 4 5 // +---------------------------------------------------------------------------+ 6 // | This file is part of the SymFony Framework project. | 7 // | Copyright (c) 2004, 2005 Fabien POTENCIER. | 8 // +---------------------------------------------------------------------------+ 5 /* 6 * This file is part of the symfony package. 7 * (c) 2004, 2005 Fabien Potencier <fabien.potencier@symfony-project.com> 8 * 9 * For the full copyright and license information, please view the LICENSE 10 * file that was distributed with this source code. 11 */ 9 12 10 13 /** 14 * FormHelper. 11 15 * 12 * @package sf_runtime16 * @package symfony 13 17 * @subpackage helper 14 * 15 * @author Fabien POTENCIER (fabien.potencier@symfony-project.com) 16 * (c) Fabien POTENCIER 17 * @since 1.0.0 18 * @version $Id: FormHelper.php 535 2005-10-18 13:01:23Z root $ 18 * @author Fabien Potencier <fabien.potencier@symfony-project.com> 19 * @version SVN: $Id$ 19 20 */ 20 21 trunk/lib/symfony/helper/HelperHelper.php
r36 r56 1 1 <?php 2 3 /* 4 * This file is part of the symfony package. 5 * (c) 2004, 2005 Fabien Potencier <fabien.potencier@symfony-project.com> 6 * 7 * For the full copyright and license information, please view the LICENSE 8 * file that was distributed with this source code. 9 */ 10 11 /** 12 * HelperHelper. 13 * 14 * @package symfony 15 * @subpackage helper 16 * @author Fabien Potencier <fabien.potencier@symfony-project.com> 17 * @version SVN: $Id$ 18 */ 2 19 3 20 function use_helper($helperName) trunk/lib/symfony/helper/I18NHelper.php
r1 r56 1 1 <?php 2 3 /* 4 * This file is part of the symfony package. 5 * (c) 2004, 2005 Fabien Potencier <fabien.potencier@symfony-project.com> 6 * 7 * For the full copyright and license information, please view the LICENSE 8 * file that was distributed with this source code. 9 */ 10 11 /** 12 * I18NHelper. 13 * 14 * @package symfony 15 * @subpackage helper 16 * @author Fabien Potencier <fabien.potencier@symfony-project.com> 17 * @version SVN: $Id$ 18 */ 2 19 3 20 function __($text, $culture = null) trunk/lib/symfony/helper/JavascriptHelper.php
r44 r56 1 1 <?php 2 2 3 // +---------------------------------------------------------------------------+ 4 // | This file is part of the SymFony Framework project. | 5 // | Copyright (c) 2004, 2005 Fabien POTENCIER. | 6 // +---------------------------------------------------------------------------+ 3 /* 4 * This file is part of the symfony package. 5 * (c) 2004, 2005 Fabien Potencier <fabien.potencier@symfony-project.com> 6 * 7 * For the full copyright and license information, please view the LICENSE 8 * file that was distributed with this source code. 9 */ 7 10 8 11 /** 12 * JavascriptHelper. 9 13 * 10 * @package sf_runtime14 * @package symfony 11 15 * @subpackage helper 12 * 13 * @author Fabien POTENCIER (fabien.potencier@symfony-project.com) 14 * (c) Fabien POTENCIER 15 * @since 1.0.0 16 * @version $Id: JavascriptHelper.php 455 2005-09-15 09:22:40Z fabien $ 16 * @author Fabien Potencier <fabien.potencier@symfony-project.com> 17 * @version SVN: $Id$ 17 18 */ 18 19 trunk/lib/symfony/helper/NumberHelper.php
r1 r56 1 1 <?php 2 3 /* 4 * This file is part of the symfony package. 5 * (c) 2004, 2005 Fabien Potencier <fabien.potencier@symfony-project.com> 6 * 7 * For the full copyright and license information, please view the LICENSE 8 * file that was distributed with this source code. 9 */ 10 11 /** 12 * NumberHelper. 13 * 14 * @package symfony 15 * @subpackage helper 16 * @author Fabien Potencier <fabien.potencier@symfony-project.com> 17 * @version SVN: $Id$ 18 */ 2 19 3 20 function format_number($number, $culture = null) trunk/lib/symfony/helper/ObjectHelper.php
r53 r56 3 3 require_once('symfony/helper/FormHelper.php'); 4 4 5 // +---------------------------------------------------------------------------+ 6 // | This file is part of the SymFony Framework project. | 7 // | Copyright (c) 2004, 2005 Fabien POTENCIER. | 8 // +---------------------------------------------------------------------------+ 9 10 /** 11 * 12 * @package sf_runtime 5 /* 6 * This file is part of the symfony package. 7 * (c) 2004, 2005 Fabien Potencier <fabien.potencier@symfony-project.com> 8 * 9 * For the full copyright and license information, please view the LICENSE 10 * file that was distributed with this source code. 11 */ 12 13 /** 14 * ObjectHelper. 15 * 16 * @package symfony 13 17 * @subpackage helper 14 * 15 * @author Fabien POTENCIER (fabien.potencier@symfony-project.com) 16 * (c) Fabien POTENCIER 17 * @since 1.0.0 18 * @version $Id: ObjectHelper.php 493 2005-10-05 07:32:12Z fabien $ 18 * @author Fabien Potencier <fabien.potencier@symfony-project.com> 19 * @version SVN: $Id$ 19 20 */ 20 21 trunk/lib/symfony/helper/PartialHelper.php
r1 r56 1 1 <?php 2 3 /* 4 * This file is part of the symfony package. 5 * (c) 2004, 2005 Fabien Potencier <fabien.potencier@symfony-project.com> 6 * 7 * For the full copyright and license information, please view the LICENSE 8 * file that was distributed with this source code. 9 */ 10 11 /** 12 * PartialHelper. 13 * 14 * @package symfony 15 * @subpackage helper 16 * @author Fabien Potencier <fabien.potencier@symfony-project.com> 17 * @version SVN: $Id$ 18 */ 2 19 3 20 function include_partial($name, $vars = array()) trunk/lib/symfony/helper/TagHelper.php
r46 r56 1 1 <?php 2 2 3 /* PHP port of tag helpers from Rails 4 5 tag_helper.rb 6 tag OK OK 7 content_tag OK OK 8 9 */ 10 11 // +---------------------------------------------------------------------------+ 12 // | This file is part of the SymFony Framework project. | 13 // | Copyright (c) 2004, 2005 Fabien POTENCIER. | 14 // +---------------------------------------------------------------------------+ 3 /* 4 * This file is part of the symfony package. 5 * (c) 2004, 2005 Fabien Potencier <fabien.potencier@symfony-project.com> 6 * 7 * For the full copyright and license information, please view the LICENSE 8 * file that was distributed with this source code. 9 */ 15 10 16 11 /** 12 * TagHelper defines some base helpers to construct html tags. 17 13 * 18 * @package sf_runtime14 * @package symfony 19 15 * @subpackage helper 20 * 21 * @author Fabien POTENCIER (fabien.potencier@symfony-project.com) 22 * (c) Fabien POTENCIER 23 * @since 1.0.0 24 * @version $Id: TagHelper.php 518 2005-10-15 09:04:27Z root $ 16 * @author Fabien Potencier <fabien.potencier@symfony-project.com> 17 * @version SVN: $Id$ 25 18 */ 26 19 20 /** 21 * Constructs an html tag. 22 * 23 * @param $name string tag name 24 * @param $options array tag options 25 * @param $open boolean true to leave tag open 26 * @return string 27 */ 27 28 function tag($name, $options = array(), $open = false) 28 29 { trunk/lib/symfony/helper/TextHelper.php
r31 r56 1 1 <?php 2 2 3 /* PHP port of tag helpers from Rails 4 5 text_helper.rb 6 concat NA NA 7 truncate OK OK 8 highlight OK OK 9 excerpt OK OK 10 pluralize -- 11 textilize -- 12 textilize_without_paragraph -- 13 markdown -- 14 simple_format OK OK 15 auto_link OK OK 16 strip_links OK OK 17 18 */ 19 20 // +---------------------------------------------------------------------------+ 21 // | This file is part of the SymFony Framework project. | 22 // | Copyright (c) 2004, 2005 Fabien POTENCIER. | 23 // +---------------------------------------------------------------------------+ 3 /* 4 * This file is part of the symfony package. 5 * (c) 2004, 2005 Fabien Potencier <fabien.potencier@symfony-project.com> 6 * 7 * For the full copyright and license information, please view the LICENSE 8 * file that was distributed with this source code. 9 */ 24 10 25 11 /** 12 * TextHelper. 26 13 * 27 * @package sf_runtime14 * @package symfony 28 15 * @subpackage helper 29 * 30 * @author Fabien POTENCIER (fabien.potencier@symfony-project.com) 31 * (c) Fabien POTENCIER 32 * @since 1.0.0 33 * @version $Id: TextHelper.php 455 2005-09-15 09:22:40Z fabien $ 16 * @author Fabien Potencier <fabien.potencier@symfony-project.com> 17 * @version SVN: $Id$ 34 18 */ 35 19 trunk/lib/symfony/helper/UrlHelper.php
r49 r56 1 1 <?php 2 2 3 /* PHP port of tag helpers from Rails 4 5 url_helper.rb 6 url_for OK 7 link_to 8 link_image_to DEPRECATED 9 link_to_unless_current 10 link_to_unless 11 link_to_if 12 mail_to 13 current_page 14 15 */ 16 17 // +---------------------------------------------------------------------------+ 18 // | This file is part of the SymFony Framework project. | 19 // | Copyright (c) 2004, 2005 Fabien POTENCIER. | 20 // +---------------------------------------------------------------------------+ 3 /* 4 * This file is part of the symfony package. 5 * (c) 2004, 2005 Fabien Potencier <fabien.potencier@symfony-project.com> 6 * 7 * For the full copyright and license information, please view the LICENSE 8 * file that was distributed with this source code. 9 */ 21 10 22 11 /** 12 * UrlHelper. 23 13 * 24 * @package sf_runtime14 * @package symfony 25 15 * @subpackage helper 26 * 27 * @author Fabien POTENCIER (fabien.potencier@symfony-project.com) 28 * (c) Fabien POTENCIER 29 * @since 1.0.0 30 * @version $Id: UrlHelper.php 531 2005-10-18 09:43:40Z fabien $ 16 * @author Fabien Potencier <fabien.potencier@symfony-project.com> 17 * @version SVN: $Id$ 31 18 */ 32 19 trunk/lib/symfony/helper/ValidationHelper.php
r31 r56 1 1 <?php 2 2 3 // +---------------------------------------------------------------------------+ 4 // | This file is part of the SymFony Framework project. | 5 // | Copyright (c) 2004, 2005 Fabien POTENCIER. | 6 // +---------------------------------------------------------------------------+ 3 /* 4 * This file is part of the symfony package. 5 * (c) 2004, 2005 Fabien Potencier <fabien.potencier@symfony-project.com> 6 * 7 * For the full copyright and license information, please view the LICENSE 8 * file that was distributed with this source code. 9 */ 7 10 8 11 /** 12 * ValidationHelper. 9 13 * 10 * @package sf_runtime14 * @package symfony 11 15 * @subpackage helper 12 * 13 * @author Fabien POTENCIER (fabien.potencier@symfony-project.com) 14 * (c) Fabien POTENCIER 15 * @since 1.0.0 16 * @version $Id: ValidationHelper.php 461 2005-09-16 07:27:06Z fabien $ 16 * @author Fabien Potencier <fabien.potencier@symfony-project.com> 17 * @version SVN: $Id$ 17 18 */ 18 19