Overview

Namespaces

  • Kotchasan
    • Cache
    • Database
    • Http
    • Log
    • Orm
  • None
  • PHP
  • Psr
    • Cache
    • Http
      • Message
    • Log

Classes

  • Accordion
  • ApiController
  • ArrayTool
  • CKEditor
  • Collection
  • Config
  • Controller
  • Country
  • Csv
  • Curl
  • Currency
  • Database
  • DataTable
  • Date
  • DOMNode
  • DOMParser
  • Email
  • File
  • Files
  • Form
  • Grid
  • Html
  • Htmldoc
  • HtmlTable
  • Image
  • InputItem
  • Inputs
  • KBase
  • Language
  • ListItem
  • Login
  • Menu
  • Mime
  • Model
  • Number
  • ObjectTool
  • Password
  • Pdf
  • Province
  • Router
  • Session
  • Singleton
  • Tab
  • TableRow
  • Template
  • Text
  • Validator
  • View

Exceptions

  • ApiException
  • InputItemException
  • Overview
  • Namespace
  • Class
  • Tree

Class Inputs

รายการ input รูปแบบ Array

Kotchasan\Inputs implements Iterator
Namespace: Kotchasan
Author: Goragod Wiriya admin@goragod.com
Since: 1.0
Located at Kotchasan/Inputs.php
Methods summary
public array
# __call( string $name, array $arguments )

magic method คืนค่าข้อมูลสำหรับ input ชนิด array

magic method คืนค่าข้อมูลสำหรับ input ชนิด array

Parameters

$name
$arguments

Returns

array

Throws

InvalidArgumentException
ถ้าไม่มี method ที่ต้องการ
public
# __construct( array $items = array(), string|null $type = null )

Class Constructer

Class Constructer

Parameters

$items
รายการ input
$type
ประเภท Input เช่น GET POST SESSION COOKIE หรือ null ถ้าไม่ได้มาจากรายการข้างต้น
public Kotchasan\InputItem
# current( )

คืนค่า InputItem รายการปัจจุบัน

คืนค่า InputItem รายการปัจจุบัน

Returns

Kotchasan\InputItem

Implementation of

Iterator::current()
public Kotchasan\InputItem
# get( string|integer $key )

อ่าน Input ที่ต้องการ

อ่าน Input ที่ต้องการ

Parameters

$key
รายการที่ต้องการ

Returns

Kotchasan\InputItem
public string
# key( )

คืนค่าคีย์หรือลำดับของ InputItem ในลิสต์รายการ

คืนค่าคีย์หรือลำดับของ InputItem ในลิสต์รายการ

Returns

string

Implementation of

Iterator::key()
public Kotchasan\InputItem
# next( )

คืนค่า InputItem รายการถัดไป

คืนค่า InputItem รายการถัดไป

Returns

Kotchasan\InputItem

Implementation of

Iterator::next()
public
# rewind( )

inherited from Iterator

inherited from Iterator

Implementation of

Iterator::rewind()
public boolean
# valid( )

Returns

boolean

Implementation of

Iterator::valid()
Kotchasan API documentation generated by ApiGen