PHP 클래스 ZF\Apigility\Admin\Controller\PackageController

상속: extends Zend\Mvc\Controller\AbstractActionController
파일 보기 프로젝트 열기: zfcampus/zf-apigility-admin

공개 메소드들

메소드 설명
__construct ( null | string $zfdeployPath = null )
__destruct ( ) Unlink any package sent over the wire previously.
indexAction ( ) : array | Zend\Http\Response | ZF\ApiProblem\ApiProblemResponse Handle incoming requests
setRequest ( Zend\Http\Request $request ) Set the request object manually

비공개 메소드들

메소드 설명
create ( string $format, array $params ) : array | ZF\ApiProblem\ApiProblemResponse Create a package, given a format and options.
createComposerOption ( null | boolean $composer ) : string Create the composer option, if any.
createConfigOption ( null | string $config ) : string Create the config option, if any.
createModulesOption ( null | array $apis ) : string Create and return the --modules option, if any.
createZpkAssetsOption ( null | string $assets ) : string Create and return the zpkdata option.
createZpkOptions ( array $params ) : string Create and return any ZPK-specific options.
createZpkVersionOption ( null | string $version ) : string Create and return the version option.
createZpkXmlOption ( null | string $xml ) : string Create and return the deploymentxml option.
fetch ( string $fileId, string $format, Zend\Http\Response $response ) : Zend\Http\Response Fetch a generated package.
getPackageFile ( string $fileId, string $format ) : string Create the package file name.

메소드 상세

__construct() 공개 메소드

public __construct ( null | string $zfdeployPath = null )
$zfdeployPath null | string Path to use to zfdeploy.php.

__destruct() 공개 메소드

Unlink any package sent over the wire previously.
public __destruct ( )

indexAction() 공개 메소드

Handle incoming requests
public indexAction ( ) : array | Zend\Http\Response | ZF\ApiProblem\ApiProblemResponse
리턴 array | Zend\Http\Response | ZF\ApiProblem\ApiProblemResponse

setRequest() 공개 메소드

Provided for testing.
public setRequest ( Zend\Http\Request $request )
$request Zend\Http\Request