Development

Changeset 11158

You must first sign up to be able to contribute.

Changeset 11158

Show
Ignore:
Timestamp:
08/26/08 14:39:10 (5 years ago)
Author:
tcourbon
Message:

Updated readme and pear convention

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/sfFirePHPLoggerPlugin/trunk/CHANGELOG

    r10617 r11158  
     10.4.2 
     2- Fixed Readme displaying on symfony website and pear conventions. 
     3 
    140.4.1 
    25- Updated addon structure 
  • plugins/sfFirePHPLoggerPlugin/trunk/lib/sfFirePHPLogger.class.php

    r10617 r11158  
    22 
    33/* ***** BEGIN LICENSE BLOCK ***** 
    4  *   
     4 * 
    55 * This file is part of sfFirePHPLoggerPlugin. 
    6  *  
     6 * 
    77 * Software License Agreement (New BSD License) 
    8  *  
     8 * 
    99 * Copyright (c) 2006-2008, Christoph Dorn 
    1010 * All rights reserved. 
    11  *  
     11 * 
    1212 * Redistribution and use in source and binary forms, with or without modification, 
    1313 * are permitted provided that the following conditions are met: 
    14  *  
     14 * 
    1515 *     * Redistributions of source code must retain the above copyright notice, 
    1616 *       this list of conditions and the following disclaimer. 
    17  *  
     17 * 
    1818 *     * Redistributions in binary form must reproduce the above copyright notice, 
    1919 *       this list of conditions and the following disclaimer in the documentation 
    2020 *       and/or other materials provided with the distribution. 
    21  *  
     21 * 
    2222 *     * Neither the name of Christoph Dorn nor the names of its 
    2323 *       contributors may be used to endorse or promote products derived from this 
    2424 *       software without specific prior written permission. 
    25  *  
     25 * 
    2626 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 
    2727 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
     
    3434 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
    3535 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
    36  *  
     36 * 
    3737 * ***** END LICENSE BLOCK ***** */ 
    38   
     38 
    3939 /* 
    4040  * $Date$ 
     
    4242  * $Rev$ 
    4343  */ 
    44   
     44 
    4545/** 
    4646 * Pluggin that integrate the FirePHP firexof extension to the symfony framework. 
    47  *  
     47 * 
    4848 * @copyright   Copyright (C) 2008-2008 Courbon Thomas 
    4949 * @author      Courbon Thomas <thomas@cafeaumiel.com> http://blog.cafeaumiel.com 
     
    5353class sfFirePHPLogger extends sfLogger 
    5454{ 
    55   protected  
     55  protected 
    5656    $FirePHP = null; 
    57    
     57 
    5858  /* 
    5959   * Constructor that load the FirePHP class 
     60   * 
     61   * Options : 
     62   *    load_function: 
     63   *      type: boolean 
     64   *      default: false 
     65   *      description: if true will attempt to load the fb function. 
    6066   */ 
    6167  public function __construct(sfEventDispatcher $dispatcher, $options = array()) 
     
    6369    parent::__construct($dispatcher, $options); 
    6470    $this->FirePHP = FirePHP::getInstance(true); 
    65      
     71 
    6672    if (!is_callable('fb') && isset($options['load_function']) && $options['load_function']) 
    6773      require(dirname(__FILE__).DIRECTORY_SEPARATOR.'FirePHPCore'.DIRECTORY_SEPARATOR.'fb.php'); 
    6874  } 
    69    
     75 
    7076  /* 
    7177   * Accessor for the FirePHP instance. 
     
    7581    return $this->FirePHP; 
    7682  } 
    77    
     83 
    7884  /** 
    7985   * Logs a message. 
     
    8894   *    sfLogger::INFO    =>  FirePHP::INFO; 
    8995   *    sfLogger::DEBUG   =>  FirePHP::LOG; 
    90    *  
     96   * 
    9197   * @param string $message   Message 
    9298   * @param string $priority  Message priority 
  • plugins/sfFirePHPLoggerPlugin/trunk/package.xml

    r10617 r11158  
    11<?xml version="1.0" encoding="ISO-8859-1" ?> 
    2 <package version="2.0" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0 http://pear.php.net/dtd/tasks-1.0.xsd http://pear.php.net/dtd/package-2.0 http://pear.php.net/dtd/package-2.0.xsd"> 
     2<package packagerversion="1.4.1" version="2.0" xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0 http://pear.php.net/dtd/tasks-1.0.xsd http://pear.php.net/dtd/package-2.0 http://pear.php.net/dtd/package-2.0.xsd"> 
    33 <name>sfFirePHPLoggerPlugin</name> 
    44 <channel>plugins.symfony-project.org</channel> 
     
    1414 </lead> 
    1515 <date>2008-08-02</date> 
    16  <time>14:30:00</time> 
    1716 <version> 
    18   <release>0.4.1</release> 
     17  <release>0.4.2</release> 
    1918  <api>0.4.0</api> 
    2019 </version> 
     
    2322  <api>stable</api> 
    2423 </stability> 
    25  <license>BSD License</license> 
    26  <notes>This version bring the pear package compatibility.</notes> 
     24 <license> 
     25Software License Agreement (New BSD License) 
     26 
     27Copyright (c) 2006-2008, Courbon Thomas 
     28All rights reserved. 
     29 
     30Redistribution and use in source and binary forms, with or without modification, 
     31are permitted provided that the following conditions are met: 
     32 
     33    * Redistributions of source code must retain the above copyright notice, 
     34      this list of conditions and the following disclaimer. 
     35 
     36    * Redistributions in binary form must reproduce the above copyright notice, 
     37      this list of conditions and the following disclaimer in the documentation 
     38      and/or other materials provided with the distribution. 
     39 
     40    * Neither the name of Courbon Thomas nor the names of its 
     41      contributors may be used to endorse or promote products derived from this 
     42      software without specific prior written permission. 
     43 
     44THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND 
     45ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 
     46WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
     47DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR 
     48ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
     49(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
     50LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON 
     51ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 
     52(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 
     53SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
     54 </license> 
     55 <notes>-</notes> 
    2756 <contents> 
    2857  <dir name="/"> 
     
    3564    <file role="php" name="fb.php" /> 
    3665     <file role="php" name="FirePHP.class.php" /> 
    37      <file role="data" name="README" /> 
    38      <file role="data" name="LICENSE" /> 
    39      <file role="data" name="CHANGELOG" /> 
     66     <file role="data" name="FirePHP-README" /> 
     67     <file role="data" name="FirePHP-LICENSE" /> 
     68     <file role="data" name="FirePHP-CHANGELOG" /> 
    4069    </dir> 
    4170   </dir> 
     
    5988  </required> 
    6089 </dependencies> 
    61  <phprelease/> 
    62  <changelog/> 
     90 <phprelease> 
     91 </phprelease> 
     92 <changelog> 
     93  <release> 
     94   <version> 
     95    <release>0.4.0</release> 
     96    <api>0.4.0</api> 
     97   </version> 
     98   <stability> 
     99    <release>stable</release> 
     100    <api>stable</api> 
     101   </stability> 
     102   <license>BSD license</license> 
     103   <date>2008-08-03</date> 
     104   <notes> 
     105     Updated to FirePHP library version 0.1.2 
     106   </notes> 
     107  </release> 
     108  <release> 
     109   <version> 
     110    <release>0.3.0</release> 
     111    <api>0.2.0</api> 
     112   </version> 
     113   <stability> 
     114    <release>stable</release> 
     115    <api>stable</api> 
     116   </stability> 
     117   <license>BSD license</license> 
     118   <date>2008-08-02</date> 
     119   <notes> 
     120     Update to match the PEAR package conventions 
     121   </notes> 
     122  </release> 
     123  <release> 
     124   <version> 
     125    <release>0.2.0</release> 
     126    <api>0.2.0</api> 
     127   </version> 
     128   <stability> 
     129    <release>stable</release> 
     130    <api>stable</api> 
     131   </stability> 
     132   <license>BSD license</license> 
     133   <date>2008-08-02</date> 
     134   <notes> 
     135     First public version 
     136   </notes> 
     137  </release> 
     138 </changelog> 
    63139</package>