Overview

Namespaces

  • GLFramework
    • Cache
    • Controller
    • DaMa
      • Manipulators
    • Database
    • HTTP
    • Mail
    • Middleware
    • Model
    • Module
    • Tests
    • Upload
    • Utils
  • None

Classes

  • Page
  • User
  • UserPage
  • Overview
  • Namespace
  • Class

Class Page

GLFramework\Model
Extended by GLFramework\Model\Page
Namespace: GLFramework\Model
Located at Model/Page.php
Methods summary
public GLFramework\ModelResult
# get_by_controller( $controller )

Parameters

$controller
Controller|string

Returns

GLFramework\ModelResult
public
# generate( $controller )
Methods inherited from GLFramework\Model
__construct(), asDefault(), build(), delete(), exists(), get(), getCacheId(), getDefinition(), getFieldDefinition(), getFieldType(), getFieldValue(), getFields(), getIndex(), getStructureDifferences(), getTableName(), get_all(), get_or(), get_others(), insert(), isIndex(), isString(), json(), newInstance(), save(), search(), setData(), setDataFromArray(), setToIndex(), underescapeName(), update(), url(), valid()
Properties summary
public $id
#
public $controller
#
public $admin
#
public $title
#
public $description
#
protected string $table_name

Nombre de la tabla en la base de datos

Nombre de la tabla en la base de datos

# "page"
protected array $definition

Definicion del modelo

Definicion del modelo

# array( 'index' => 'id', 'fields' => array( 'controller' => "varchar(255)", 'title' => "varchar(64)", 'description' => "varchar(255)", 'admin' => "int(11)", ) )
Properties inherited from GLFramework\Model
$db, $hidden, $models, $order
API documentation generated by ApiGen