import v2.0.0.0_RC3 | 2012-07-01

https://github.com/lucanos/CommunityID -> http://www.itadmins.net/archives/357
This commit is contained in:
2019-07-17 22:31:04 +02:00
parent 38c146901c
commit 2f397f01f7
2677 changed files with 296182 additions and 45159 deletions

View File

@ -17,7 +17,7 @@
* @subpackage Framework
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
* @version $Id: File.php 16971 2009-07-22 18:05:45Z mikaelkael $
* @version $Id: File.php 18951 2009-11-12 16:26:19Z alexander $
*/
/**
@ -30,15 +30,15 @@ require_once 'Zend/Tool/Project/Context/Filesystem/Abstract.php';
*
* A profile is a hierarchical set of resources that keep track of
* items within a specific project.
*
*
* @category Zend
* @package Zend_Tool
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
abstract class Zend_Tool_Project_Context_Filesystem_File extends Zend_Tool_Project_Context_Filesystem_Abstract
abstract class Zend_Tool_Project_Context_Filesystem_File extends Zend_Tool_Project_Context_Filesystem_Abstract
{
/**
* init()
*
@ -50,7 +50,7 @@ abstract class Zend_Tool_Project_Context_Filesystem_File extends Zend_Tool_Proje
parent::init();
return $this;
}
/**
* setResource()
*
@ -77,16 +77,16 @@ abstract class Zend_Tool_Project_Context_Filesystem_File extends Zend_Tool_Proje
$parentResource->create();
}
}
if (file_exists($this->getPath())) {
// @todo propt user to determine if its ok to overwrite file
}
file_put_contents($this->getPath(), $this->getContents());
return $this;
}
/**
* delete()
*
@ -98,7 +98,7 @@ abstract class Zend_Tool_Project_Context_Filesystem_File extends Zend_Tool_Proje
$this->_resource->setDeleted(true);
return $this;
}
/**
* getContents()
*
@ -108,5 +108,5 @@ abstract class Zend_Tool_Project_Context_Filesystem_File extends Zend_Tool_Proje
{
return null;
}
}