Property | Type | Description | |
---|---|---|---|
$jsonResponse | |||
$login | |||
$pageById | array | ||
$pages | array[BasePage] | ||
$readOnly | |||
$redirect | |||
$staticRoot | |||
$title |
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 ) |
public getPageById ( $id ) : CrudKit\Pages\Page | ||
$id | ||
return | CrudKit\Pages\Page |
public renderToString ( ) |
public setJsonResponse ( boolean $jsonResponse ) | ||
$jsonResponse | boolean |
public setStaticRoot ( $staticRoot ) | ||
$staticRoot |