Development

Changeset 56

You must first sign up to be able to contribute.

Changeset 56

Show
Ignore:
Timestamp:
11/05/05 14:25:29 (8 years ago)
Author:
fabien
Message:

added standardized headers on helper files

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/symfony/helper/AssetHelper.php

    r31 r56  
    11<?php 
    22 
    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 */ 
    710 
    811/** 
     12 * AssetHelper. 
    913 * 
    10  * @package   sf_runtime 
     14 * @package    symfony 
    1115 * @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$ 
    1718 */ 
    1819 
  • trunk/lib/symfony/helper/CacheHelper.php

    r31 r56  
    11<?php 
    22 
    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 */ 
    710 
    811/** 
     12 * CacheHelper. 
    913 * 
    10  * @package   sf_runtime 
     14 * @package    symfony 
    1115 * @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$ 
    1718 */ 
    1819 
  • trunk/lib/symfony/helper/DateHelper.php

    r1 r56  
    11<?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 */ 
    219 
    320function format_daterange($start_date, $end_date, $format = 'd', $full_text, $start_text, $end_text, $culture = null) 
  • trunk/lib/symfony/helper/FormHelper.php

    r53 r56  
    33require_once('symfony/helper/ValidationHelper.php'); 
    44 
    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 */ 
    912 
    1013/** 
     14 * FormHelper. 
    1115 * 
    12  * @package   sf_runtime 
     16 * @package    symfony 
    1317 * @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$ 
    1920 */ 
    2021 
  • trunk/lib/symfony/helper/HelperHelper.php

    r36 r56  
    11<?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 */ 
    219 
    320function use_helper($helperName) 
  • trunk/lib/symfony/helper/I18NHelper.php

    r1 r56  
    11<?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 */ 
    219 
    320function __($text, $culture = null) 
  • trunk/lib/symfony/helper/JavascriptHelper.php

    r44 r56  
    11<?php 
    22 
    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 */ 
    710 
    811/** 
     12 * JavascriptHelper. 
    913 * 
    10  * @package   sf_runtime 
     14 * @package    symfony 
    1115 * @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$ 
    1718 */ 
    1819 
  • trunk/lib/symfony/helper/NumberHelper.php

    r1 r56  
    11<?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 */ 
    219 
    320function format_number($number, $culture = null) 
  • trunk/lib/symfony/helper/ObjectHelper.php

    r53 r56  
    33require_once('symfony/helper/FormHelper.php'); 
    44 
    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 
    1317 * @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$ 
    1920 */ 
    2021 
  • trunk/lib/symfony/helper/PartialHelper.php

    r1 r56  
    11<?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 */ 
    219 
    320function include_partial($name, $vars = array()) 
  • trunk/lib/symfony/helper/TagHelper.php

    r46 r56  
    11<?php 
    22 
    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 */ 
    1510 
    1611/** 
     12 * TagHelper defines some base helpers to construct html tags. 
    1713 * 
    18  * @package   sf_runtime 
     14 * @package    symfony 
    1915 * @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$ 
    2518 */ 
    2619 
     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 */ 
    2728function tag($name, $options = array(), $open = false) 
    2829{ 
  • trunk/lib/symfony/helper/TextHelper.php

    r31 r56  
    11<?php 
    22 
    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 */ 
    2410 
    2511/** 
     12 * TextHelper. 
    2613 * 
    27  * @package   sf_runtime 
     14 * @package    symfony 
    2815 * @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$ 
    3418 */ 
    3519 
  • trunk/lib/symfony/helper/UrlHelper.php

    r49 r56  
    11<?php 
    22 
    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 */ 
    2110 
    2211/** 
     12 * UrlHelper. 
    2313 * 
    24  * @package   sf_runtime 
     14 * @package    symfony 
    2515 * @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$ 
    3118 */ 
    3219 
  • trunk/lib/symfony/helper/ValidationHelper.php

    r31 r56  
    11<?php 
    22 
    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 */ 
    710 
    811/** 
     12 * ValidationHelper. 
    913 * 
    10  * @package   sf_runtime 
     14 * @package    symfony 
    1115 * @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$ 
    1718 */ 
    1819