Documentation

Generator extends Cli
in package
implements Controller

CLI generator.

php index.php fuwafuwa/generator/generator-function --options=value

Table of Contents

Interfaces

Controller

Properties

$data  : array<string|int, mixed>
Contains parameters value collected from command line.
$db  : SQL

Methods

__construct()  : mixed
ajax_fftable()  : void
component()  : void
execute()  : void
Action dispatcher.
fftable()  : void
help()  : void
Provides different instructions based on the input function provided in the GET request.
info()  : mixed
list()  : void
List available generators.
model()  : void
Model
standalone_form()  : void
static_ajax()  : void
static_form()  : void
static_modal()  : void
static_table()  : void
md_info()  : mixed
normalize()  : string
Internal use. To deceive f3 parser, some token must be modified.
parse_json_setting()  : mixed
table_info()  : array<string|int, mixed>

Properties

$data

Contains parameters value collected from command line.

protected array<string|int, mixed> $data = []

Methods

ajax_fftable()

public ajax_fftable(Base $f3) : void
Parameters
$f3 : Base

component()

public component(Base $f3) : void
Parameters
$f3 : Base

execute()

Action dispatcher.

public execute(Base $f3[, string $action = "" ]) : void
Parameters
$f3 : Base
$action : string = ""

fftable()

public fftable(Base $f3) : void
Parameters
$f3 : Base

help()

Provides different instructions based on the input function provided in the GET request.

public help(Base $f3) : void
Parameters
$f3 : Base

info()

public info(mixed $f3) : mixed
Parameters
$f3 : mixed

list()

List available generators.

public list(Base $f3) : void
Parameters
$f3 : Base

model()

Model

public model(Base $f3) : void
Parameters
$f3 : Base

standalone_form()

public standalone_form(Base $f3) : void
Parameters
$f3 : Base

static_ajax()

public static_ajax(Base $f3) : void
Parameters
$f3 : Base

static_form()

public static_form(Base $f3) : void
Parameters
$f3 : Base

static_modal()

public static_modal(Base $f3) : void
Parameters
$f3 : Base

static_table()

public static_table(Base $f3) : void
Parameters
$f3 : Base

md_info()

private md_info(mixed $master, mixed $detail[, mixed $master_key = null ]) : mixed
Parameters
$master : mixed
$detail : mixed
$master_key : mixed = null

normalize()

Internal use. To deceive f3 parser, some token must be modified.

private normalize(string $text) : string
Parameters
$text : string
Return values
string

parse_json_setting()

private parse_json_setting() : mixed

table_info()

private table_info(string $table) : array<string|int, mixed>
Parameters
$table : string
Return values
array<string|int, mixed>

        
On this page

Search results