| [ Index ] |
|
Code source de Symfony 1.0.0 |
1 <?php 2 3 /* 4 * $Id: FileSet.php 3076 2006-12-18 08:52:12Z fabien $ 5 * 6 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 7 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 8 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 9 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 10 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 11 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 12 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 13 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 14 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 15 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 16 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 17 * 18 * This software consists of voluntary contributions made by many individuals 19 * and is licensed under the LGPL. For more information please see 20 * <http://phing.info>. 21 */ 22 23 require_once 'phing/types/AbstractFileSet.php'; 24 25 /** 26 * Moved out of MatchingTask to make it a standalone object that could 27 * be referenced (by scripts for example). 28 * 29 * @author Hans Lellelid <hans@xmpl.org> (Phing) 30 * @author Arnout J. Kuiper <ajkuiper@wxs.nl> (Ant) 31 * @author Stefano Mazzocchi <stefano@apache.org> (Ant) 32 * @author Sam Ruby <rubys@us.ibm.com> (Ant) 33 * @author Jon S. Stevens <jon@clearink.com> (Ant) 34 * @author Stefan Bodewig <stefan.bodewig@epost.de> (Ant) 35 * @author Magesh Umasankar (Ant) 36 * @package phing.types 37 */ 38 class FileSet extends AbstractFileSet { 39 40 function __construct($fileset = null) { 41 parent::__construct($fileset); 42 } 43 44 /** 45 * Return a FileSet that has the same basedir and same patternsets 46 * as this one. 47 */ 48 public function __clone() { 49 if ($this->isReference()) { 50 return new FileSet($this->getRef($this->getProject())); 51 } else { 52 return new FileSet($this); 53 } 54 } 55 56 }
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
| Généré le : Fri Mar 16 22:42:14 2007 | par Balluche grâce à PHPXref 0.7 |