Свойство | Тип | Описание | |
---|---|---|---|
$layoutPath | string | The name of the layouts subfolder containing layouts for this View. | |
$pdfConfig | array | List of pdf configs collected from the associated controller. | |
$subDir | string | The subdirectory. PDF views are always in pdf. |
Свойство | Тип | Описание | |
---|---|---|---|
$_renderer | CakePdf Instance |
Метод | Описание | |
---|---|---|
__construct ( Cake\Network\Request $request = null, |
Constructor | |
getFilename ( ) : string | Get or build a filename for forced download | |
render ( string $view = null, string $layout = null ) : string | Render a Pdf view. | |
renderer ( array $config = null ) : |
Return CakePdf instance, optionally set engine to be used |
public __construct ( Cake\Network\Request $request = null, |
||
$request | Cake\Network\Request | Request instance. |
$response | Response instance. | |
$eventManager | Cake\Event\EventManager | Event manager instance. |
$viewOptions | array | View options. See View::$_passedVars for list of options which get set as class properties. |
public getFilename ( ) : string | ||
Результат | string | The filename |
protected CakePdf,CakePdf\Pdf|null $_renderer | ||
Результат |
public string $layoutPath | ||
Результат | string |
public array $pdfConfig | ||
Результат | array |
public string $subDir | ||
Результат | string |