FacturaScripts

EditPageOption extends EditPageOption Uses ExtensionsTrait

Class created by Core/Base/PluginManager

Table of Contents

$extensions Stores class extensions. array
$backPage Contains the url to go back. string
$columns array
$modals array
$model Details of the view configuration PageOption
$rows array
$selectedUser Selected user, for which the controller columns are created or modified string
$selectedViewName Selected view, for which columns are created or modified string
$className Name of the class of the controller (although its in inheritance from this class, the name of the final class we will have here) string
$dataBase It provides direct access to the database. DataBase
$empresa Selected company. Empresa
$multiRequestProtection MultiRequestProtection
$permissions User permissions on this controller. ControllerPermissions
$request Request on which we can get data. Request
$response HTTP Response object. Response
$template Name of the file for the template. string|bool
$title Title of the page. string
$uri Given uri, default is empty. string
$user User logged in. User|bool
__call() Executes the first matched extension. mixed
addExtension() mixed
pipe() mixed
getPageData() Return the basic data for this page. array
getUserList() Get the list of users, excluding the user admin array
privateCore() Runs the controller's private logic. mixed
deleteAction() Delete configuration for view mixed
loadPageOptions() mixed
loadSelectedViewName() mixed
saveAction() Save new configuration for view mixed
setColumnOption() mixed
__construct() Initialize all objects and properties. mixed
getTemplate() Return the template to use for this controller. string|bool
publicCore() Execute the public part of the controller. mixed
redirect() Redirect to an url or controller. mixed
setTemplate() Set the template to use for this controller. bool
toolBox() ToolBox
url() Return the URL of the actual controller. string
checkPHPversion() mixed
getClassName() Return the name of the controller. string

Properties

$extensions

Stores class extensions.

protected static array $extensions = []

$selectedUser

Selected user, for which the controller columns are created or modified

public string $selectedUser

$selectedViewName

Selected view, for which columns are created or modified

public string $selectedViewName

$className

Name of the class of the controller (although its in inheritance from this class, the name of the final class we will have here)

private string $className

$request

Request on which we can get data.

public Request $request

$response

HTTP Response object.

protected Response $response

$template

Name of the file for the template.

private string|bool $template

$uri

Given uri, default is empty.

public string $uri

Methods

__call()

Executes the first matched extension.

public __call( $name : string [, $arguments : array = [] ] ) : mixed
Parameters
$name : string
$arguments : array = []
Tags
throws
Return values
mixed

addExtension()

public static addExtension( $extension : mixed ) : mixed
Parameters
$extension : mixed
Return values
mixed

pipe()

public pipe( $name : string , ...$arguments : array ) : mixed
Parameters
$name : string
$arguments : array
Return values
mixed

getPageData()

Return the basic data for this page.

public getPageData( ) : array
Return values
array

getUserList()

Get the list of users, excluding the user admin

public getUserList( ) : array
Return values
array

deleteAction()

Delete configuration for view

protected deleteAction( ) : mixed
Return values
mixed

loadPageOptions()

protected loadPageOptions( ) : mixed
Return values
mixed

loadSelectedViewName()

protected loadSelectedViewName( ) : mixed
Return values
mixed

saveAction()

Save new configuration for view

protected saveAction( ) : mixed
Return values
mixed

setColumnOption()

private setColumnOption( &$column : array , $name : string , $key : string , $isWidget : bool , $allowEmpty : bool ) : mixed
Parameters
$column : array
$name : string
$key : string
$isWidget : bool
$allowEmpty : bool
Return values
mixed

__construct()

Initialize all objects and properties.

public __construct( $className : string [, $uri : string = '' ] ) : mixed
Parameters
$className : string
$uri : string = ''
Return values
mixed

getTemplate()

Return the template to use for this controller.

public getTemplate( ) : string|bool
Return values
string|bool

publicCore()

Execute the public part of the controller.

public publicCore( &$response : Response ) : mixed
Parameters
$response : Response
Return values
mixed

redirect()

Redirect to an url or controller.

public redirect( $url : string , $delay : int ) : mixed
Parameters
$url : string
$delay : int
Return values
mixed

setTemplate()

Set the template to use for this controller.

public setTemplate( $template : string|bool ) : bool
Parameters
$template : string|bool
Return values
bool

url()

Return the URL of the actual controller.

public url( ) : string
Return values
string

checkPHPversion()

private checkPHPversion( $min : float ) : mixed
Parameters
$min : float
Return values
mixed

getClassName()

Return the name of the controller.

protected getClassName( ) : string
Return values
string

Search results