PHP Class CrudKit\CrudKitApp

Datei anzeigen Open project: skyronic/crudkit Class Usage Examples

Protected Properties

Property Type Description
$jsonResponse
$login
$pageById array
$pages array[BasePage]
$readOnly
$redirect
$staticRoot
$title

Public Methods

Method Description
__construct ( )
_requestRedirect ( $url )
addPage ( $page )
getAppName ( )
getDefaultPage ( )
getPageById ( $id ) : CrudKit\Pages\Page
getPages ( )
getStaticRoot ( )
getUserParams ( )
isJsonResponse ( ) : boolean
isReadOnly ( )
render ( ) Render your CrudKit app and output to HTML
renderToString ( ) Render your CrudKit app and return it as a string
setAppName ( $title )
setJsonResponse ( boolean $jsonResponse )
setReadOnly ( $readOnlyFlag )
setStaticRoot ( $staticRoot ) Set a static root which contains the "crudkit/" directory of css and JS
useLogin ( $login )

Method Details

__construct() public method

public __construct ( )

_requestRedirect() public method

public _requestRedirect ( $url )

addPage() public method

public addPage ( $page )
$page Page

getAppName() public method

public getAppName ( )

getDefaultPage() public method

public getDefaultPage ( )

getPageById() public method

public getPageById ( $id ) : CrudKit\Pages\Page
$id
return CrudKit\Pages\Page

getPages() public method

public getPages ( )

getStaticRoot() public method

public getStaticRoot ( )

getUserParams() public method

public getUserParams ( )

isJsonResponse() public method

public isJsonResponse ( ) : boolean
return boolean

isReadOnly() public method

public isReadOnly ( )

render() public method

Render your CrudKit app and output to HTML
public render ( )

renderToString() public method

Render your CrudKit app and return it as a string
public renderToString ( )

setAppName() public method

public setAppName ( $title )

setJsonResponse() public method

public setJsonResponse ( boolean $jsonResponse )
$jsonResponse boolean

setReadOnly() public method

public setReadOnly ( $readOnlyFlag )

setStaticRoot() public method

Set a static root which contains the "crudkit/" directory of css and JS
public setStaticRoot ( $staticRoot )
$staticRoot

useLogin() public method

public useLogin ( $login )

Property Details

$jsonResponse protected_oe property

protected $jsonResponse

$login protected_oe property

protected $login

$pageById protected_oe property

protected array $pageById
return array

$pages protected_oe property

protected array[BasePage] $pages
return array[BasePage]

$readOnly protected_oe property

protected $readOnly

$redirect protected_oe property

protected $redirect

$staticRoot protected_oe property

protected $staticRoot

$title protected_oe property

protected $title