# tasks/ext/ioncube/IoncubeLicenseTask.php

$Id: IoncubeLicenseTask.php 725 2010-02-11 22:47:11Z mrook $

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

This software consists of voluntary contributions made by many individuals and is licensed under the LGPL. For more information please see http://phing.info.

## \IoncubeLicenseTask
jump to top

Package: phing\tasks\ext\ioncube

Invokes the ionCube "make_license" program

Parent(s)
  \Task < \ProjectComponent
Author
  Michiel Rook
Since
  2.2.0
Version
  $Id: IoncubeLicenseTask.php 725 2010-02-11 22:47:11Z mrook $

### Properties

`$allowedServer= '""'`
Default value`""`Details

Type
  n/a

`$comments= 'array()'`
Default value `array()`Details

Type
  n/a

`$expireIn= '""'`
Default value`""`Details

Type
  n/a

`$expireOn= '""'`
Default value`""`Details

Type
  n/a

`$ioncubePath= '"/usr/local/ioncube"'`
Default value`"/usr/local/ioncube"`Details

Type
  n/a

`$licensePath= '""'`
Default value`""`Details

Type
  n/a

`$passPhrase= '""'`
Default value`""`Details

Type
  n/a

### Methods

`addComment( $comment ) : void`

Adds a comment to be used in encoded files

Parameters

Name | Type | Description
--- | --- | ---
$comment |  |

`constructArguments( ) : void`

Constructs an argument string for the ionCube make_license

`getAllowedServer( ) : void`

Returns the --allowed-server option

`getDescription( ) : void`

`getExpireIn( ) : void`

Returns the --expire-in option

`getExpireOn( ) : void`

Returns the --expire-on option

`getIoncubePath( ) : void`

Returns the path to the ionCube encoder

`getLicensePath( ) : void`

Returns the path to the license file to use

`getLocation( ) : void`

`getOwningTarget( ) : void`

`getPassPhrase( ) : void`

Returns the passphrase to use when encoding files

`getProject( ) : void`

`getRegisterSlot( ) : void`

`getRuntimeConfigurableWrapper( ) : void`

`getTaskName( ) : void`

`getTaskType( ) : void`

`init( ) : void`

`log( ) : void`

`main( ) : void`

The main entry point

Throws

Exception | Description
--- | ---
\BuildException |

`maybeConfigure( ) : void`

`perform( ) : void`

`setAllowedServer( $allowedServer ) : void`

Sets the --allowed-server option to use when generating the license

Parameters

Name | Type | Description
--- | --- | ---
$allowedServer |  |

`setDescription( ) : void`

`setExpireIn( $expireIn ) : void`

Sets the --expire-in option to use when generating the license

Parameters

Name | Type | Description
--- | --- | ---
$expireIn |  |

`setExpireOn( $expireOn ) : void`

Sets the --expire-on option to use when generating the license

Parameters

Name | Type | Description
--- | --- | ---
$expireOn |  |

`setIoncubePath( $ioncubePath ) : void`

Sets the path to the ionCube encoder

Parameters

Name | Type | Description
--- | --- | ---
$ioncubePath |  |

`setLicensePath( $licensePath ) : void`

Sets the path to the license file to use

Parameters

Name | Type | Description
--- | --- | ---
$licensePath |  |

`setLocation( ) : void`

`setOwningTarget( ) : void`

`setPassPhrase( $passPhrase ) : void`

Sets the passphrase to use when encoding files

Parameters

Name | Type | Description
--- | --- | ---
$passPhrase |  |

`setProject( ) : void`

`setRuntimeConfigurableWrapper( ) : void`

`setTaskName( ) : void`

`setTaskType( ) : void`

Documentation was generated by DocBlox 0.17.1.