Overview

Namespaces

  • Composer
    • Autoload
  • Illuminate
    • Support
      • Contracts
      • Facades
  • Laravella
    • Crud
      • Exceptions
      • Facades
  • None
  • PHP

Classes

  • CrudDatabaseSeeder
  • CrudInstallCommand
  • CrudSeeder
  • CrudServiceProvider
  • CrudUpdateCommand
  • DbGopher
  • Log
  • Options
  • Params
  • PostCrudSeeder
  • SeedActions
  • SeedAssets
  • SeedGroups
  • SeedLogs
  • SeedMenus
  • SeedObjects
  • SeedOptions
  • SeedPageTypes
  • SeedSeverities
  • SeedTables
  • SeedUsergroups
  • SeedUsers
  • SeedViews
  • UpdateCMSFields
  • UpdateReferences
  • Overview
  • Namespace
  • Class
  • Tree

Class Params

Used to pass a consistent set of data to views and prevent "$variable not found" errors.

Seeder
Extended by Laravella\Crud\CrudSeeder
Extended by Laravella\Crud\Params
Namespace: Laravella\Crud
Located at src/Laravella/Crud/Params.php
Methods summary
public
# __construct( type $status, type $message, type $log, type $view = null, type $action = "", type $tableMeta = null, type $tableActionViews = null, type $prefix = "", mixed $selects = null, mixed $displayType = "", mixed $dataA = array(), mixed $tables = array(), mixed $paginated = array(), mixed $primaryTables = array() )

Used to pass a consistent set of data to views and prevent "$variable not found" errors.

Parameters

$status
type
$status Wether the action succeeded or not. See log for further details.
$message
type
$action the action that controller is performing. See _db_actions.name
$log
type
$tableMeta The table's meta data. As generated by Laravella\Crud\Table::getTableMeta()
$view
type
$tables Is an array of Table objects. Actual data.
$action
type
$pageSize. The size of the pagination.
$tableMeta
type
$primaryTables A list of records with primary keys related to this table's via foreign keys.
$tableActionViews
type
$prefix Used to prepend the href on the primary key
$prefix
type
$view An entry in _db_views
$selects
$displayType
$dataA
$tables
$paginated
$primaryTables
public static type
# getUserMenu( type $userId = null )

Parameters

$userId
type
$userId

Returns

type
public type
# getMenu( type $userId = null )

Build a menu array from _db_menus

Build a menu array from _db_menus

Parameters

$userId
type
$userId

Returns

type
public static Laravella\Crud\Params
# forEdit( type $status = "success", type $message = "", type $log = array(), type $view = null, type $action = "", type $tableMeta = null, type $tableActionViews = null, type $prefix = "", type $selects = null, type $displayType = "text/html", type $tables = null, type $paginated = null, mixed $primaryTables = null )

Instantiate a Params object to use for Editing

Instantiate a Params object to use for Editing

Parameters

$status
type
$status
$message
type
$message
$log
type
$log
$view
type
$view
$action
type
$action
$tableMeta
type
$tableMeta
$tableActionViews
type
$tableActionViews
$prefix
type
$prefix
$selects
type
$selects
$displayType
type
$tables
$tables
type
$paginated
$paginated
type
$primaryTables
$primaryTables

Returns

Laravella\Crud\Params
public
# asArray( )
Methods inherited from Laravella\Crud\CrudSeeder
addAction(), addAsset(), addAssetType(), addDisplayType(), addDivider(), addGroup(), addKeyType(), addMenu(), addMenuPermissions(), addObject(), addOption(), addOptionType(), addPage(), addPageType(), addSeverity(), addView(), addWidgetType(), createUser(), delete(), getDisplayType(), getFieldLength(), getFieldType(), getFieldWidget(), getFieldWidth(), getId(), getOptionType(), info(), linkAssetPage(), linkAssetPageGroups(), makeApiKey(), makeLabel(), populateTableActions(), setAssetType(), setHeroCaption(), setPageType(), setTitle(), tableActionViewId(), updateOrInsert(), updateReference()
Properties summary
public string $action ""
#
public mixed $tableMeta null
#
public mixed $tables null
#
public array $dataA array()
#
public mixed $paginated null
#
public array $primaryTables array()
#
public string $prefix ""
#
public mixed $tableActionViews null
#
public mixed $assets null
#
public mixed $view null
#
public mixed $skin null
#
public array $selects array()
#
public array $log array()
#
public string $status "success"
#
public string $slug ""
#
public string $displayType "text/html"
#
public array $displayTypes array()
#
public array $widgetTypes array()
#
public array $menu array()
#
crud API documentation generated by ApiGen 2.8.0