Service/WindowsAzure/CommandLine/Scaffolders/DefaultScaffolder/index.php
Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to [email protected] so we can send you a copy immediately.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Service_WindowsAzure
- Version
- $Id$
\Scaffolder
- Parent(s)
- \Zend_Service_WindowsAzure_CommandLine_PackageScaffolder_PackageScaffolderAbstract
- Category
- Zend
- Copyright
- Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Methods

applyTransforms(string $rootPath, array $values) : voidApply file transforms.
Inherited from: \Zend_Service_WindowsAzure_CommandLine_PackageScaffolder_PackageScaffolderAbstract::applyTransforms()| Name | Type | Description |
|---|---|---|
| $rootPath | string | Root path. |
| $values | array | Key/value array. |

copyDirectory(string $sourcePath, string $destinationPath, boolean $abortIfExists = true, \octal $mode = '0777') : booleanFully copy a source directory to a target directory.
Inherited from: \Zend_Service_WindowsAzure_CommandLine_PackageScaffolder_PackageScaffolderAbstract::copyDirectory()| Name | Type | Description |
|---|---|---|
| $sourcePath | string | Source directory |
| $destinationPath | string | Target directory |
| $abortIfExists | boolean | Query re-creating target directory if exists |
| $mode | \octal | Changes access mode |
| Type | Description |
|---|---|
| boolean |

createDirectory(string $path, boolean $abortIfExists = true, boolean $recursive = true) : booleanCreate directory
Inherited from: \Zend_Service_WindowsAzure_CommandLine_PackageScaffolder_PackageScaffolderAbstract::createDirectory()| Name | Type | Description |
|---|---|---|
| $path | string | Path of directory to create. |
| $abortIfExists | boolean | Abort if directory exists. |
| $recursive | boolean | Create parent directories if not exist. |
| Type | Description |
|---|---|
| boolean |

deleteDirectory(string $path) : booleanDelete directory and all of its contents;
Inherited from: \Zend_Service_WindowsAzure_CommandLine_PackageScaffolder_PackageScaffolderAbstract::deleteDirectory()| Name | Type | Description |
|---|---|---|
| $path | string | Directory path |
| Type | Description |
|---|---|
| boolean |

extractResources(\Phar $phar, string $path) : voidExtract resources to a file system path
Inherited from: \Zend_Service_WindowsAzure_CommandLine_PackageScaffolder_PackageScaffolderAbstract::extractResources()| Name | Type | Description |
|---|---|---|
| $phar | \Phar | Phar archive. |
| $path | string | Output path root. |

invoke(\Phar $phar, $rootPath, array $options = array()) : voidInvokes the scaffolder.
| Name | Type | Description |
|---|---|---|
| $phar | \Phar | Phar archive containing the current scaffolder. |
| $rootPath | ||
| $options | array | Options array (key/value). |

log(string $message, string $newLine = true) : voidWrites output to STDERR, followed by a newline (optional)
Inherited from: \Zend_Service_WindowsAzure_CommandLine_PackageScaffolder_PackageScaffolderAbstract::log()| Name | Type | Description |
|---|---|---|
| $message | string | |
| $newLine | string |