PHP Class CrudKit\CrudKitApp

Afficher le fichier Open project: skyronic/crudkit Class Usage Examples

Protected Properties

Свойство Type Description
$jsonResponse
$login
$pageById array
$pages array[BasePage]
$readOnly
$redirect
$staticRoot
$title

Méthodes publiques

Méthode 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 méthode

public __construct ( )

_requestRedirect() public méthode

public _requestRedirect ( $url )

addPage() public méthode

public addPage ( $page )
$page Page

getAppName() public méthode

public getAppName ( )

getDefaultPage() public méthode

public getDefaultPage ( )

getPageById() public méthode

public getPageById ( $id ) : CrudKit\Pages\Page
$id
Résultat CrudKit\Pages\Page

getPages() public méthode

public getPages ( )

getStaticRoot() public méthode

public getStaticRoot ( )

getUserParams() public méthode

public getUserParams ( )

isJsonResponse() public méthode

public isJsonResponse ( ) : boolean
Résultat boolean

isReadOnly() public méthode

public isReadOnly ( )

render() public méthode

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

renderToString() public méthode

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

setAppName() public méthode

public setAppName ( $title )

setJsonResponse() public méthode

public setJsonResponse ( boolean $jsonResponse )
$jsonResponse boolean

setReadOnly() public méthode

public setReadOnly ( $readOnlyFlag )

setStaticRoot() public méthode

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

useLogin() public méthode

public useLogin ( $login )

Property Details

$jsonResponse protected_oe property

protected $jsonResponse

$login protected_oe property

protected $login

$pageById protected_oe property

protected array $pageById
Résultat array

$pages protected_oe property

protected array[BasePage] $pages
Résultat 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