classes/phing/tasks/ext/ioncube/IoncubeLicenseTask.php

\IoncubeLicenseTask

Invokes the ionCube "make_license" program

Use {@link Project#createTask} to register a new Task.

Extends from
\Task
author
Michiel Rook
copyright
2001,2002 THYRELL. All rights reserved
package
phing.tasks.ext.ioncube
since
2.2.0
version
$Id: IoncubeLicenseTask.php 725 2010-02-11 22:47:11Z mrook $

Properties

Propertyprivate  $allowedServer= ''
Details
Type
Propertyprivate  $comments= 'array'
Default valuearrayDetails
Type
Propertyprivate  $expireIn= ''
Details
Type
Propertyprivate  $expireOn= ''
Details
Type
Propertyprivate  $ioncubePath= '/usr/local/ioncube'
Default value/usr/local/ioncubeDetails
Type
Propertyprivate  $licensePath= ''
Details
Type
Propertyprivate  $passPhrase= ''
Details
Type

Methods

methodpublic  addComment(  $comment ) :
Adds a comment to be used in encoded files
Parameters
Name Type Description
$comment
methodprivate  constructArguments( ) :
Constructs an argument string for the ionCube make_license
methodpublic  getAllowedServer( ) :
Returns the --allowed-server option
methodpublic  getExpireIn( ) :
Returns the --expire-in option
methodpublic  getExpireOn( ) :
Returns the --expire-on option
methodpublic  getIoncubePath( ) :
Returns the path to the ionCube encoder
methodpublic  getLicensePath( ) :
Returns the path to the license file to use
methodpublic  getPassPhrase( ) :
Returns the passphrase to use when encoding files
methodpublic  main( ) :
The main entry point
Details
throws
methodpublic  setAllowedServer(  $allowedServer ) :
Sets the --allowed-server option to use when generating the license
Parameters
Name Type Description
$allowedServer
methodpublic  setExpireIn(  $expireIn ) :
Sets the --expire-in option to use when generating the license
Parameters
Name Type Description
$expireIn
methodpublic  setExpireOn(  $expireOn ) :
Sets the --expire-on option to use when generating the license
Parameters
Name Type Description
$expireOn
methodpublic  setIoncubePath(  $ioncubePath ) :
Sets the path to the ionCube encoder
Parameters
Name Type Description
$ioncubePath
methodpublic  setLicensePath(  $licensePath ) :
Sets the path to the license file to use
Parameters
Name Type Description
$licensePath
methodpublic  setPassPhrase(  $passPhrase ) :
Sets the passphrase to use when encoding files
Parameters
Name Type Description
$passPhrase
Documentation was generated by DocBlox 0.13.1.