class \mpf\datasources\sql\CrudController

class \mpf\datasources\sql\CrudController

-no description found-

Attributes
protected mixed $_modelShortName

-no description found-

public mixed $modelClass

-no description found-

public string $afterSaveRedirectTo = "index"

Action to redirect after save;

public array $messages = {"saved":"Model saved!","deletedSingular":"Model deleted!","deletedPlural":"Models delted!","created":"Model created!"}

-no description found-

Methods

protected mixed getModelShortName ()

Removes namespace from model class name;

public mixed actionIndex ()

-no description found-

public mixed actionView (mixed $id)

  • $id

    -no description found-

-no description found-

public mixed actionEdit (mixed $id)

  • $id

    -no description found-

-no description found-

public mixed actionDelete ()

-no description found-

public mixed actionCreate ()

-no description found-