Overview

Namespaces

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

Classes

  • Accordion
  • 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
  • Object
  • Password
  • Pdf
  • Province
  • Router
  • Singleton
  • Tab
  • TableRow
  • Template
  • Text
  • Validator
  • View
  • Overview
  • Namespace
  • Class
  • Tree

Class Menu

คลาสสำหรับแสดงผลเมนูมาตรฐานของ Kotchasan.

Namespace: Kotchasan
Author: Goragod Wiriya admin@goragod.com
Since: 1.0
Located at Kotchasan/Menu.php
Methods summary
public static string
# render( array $items, $select )

แสดงผลเมนู.

แสดงผลเมนู.

Parameters

$items
รายการเมนู
$select

Returns

string
protected static string
# getItem( string|integer $name, array $item, boolean $arrow, string $select )

ฟังก์ชั่น แปลงเป็นรายการเมนู คืนค่า HTML ของเมนู.

ฟังก์ชั่น แปลงเป็นรายการเมนู คืนค่า HTML ของเมนู.

Parameters

$name
ชื่อเมนู
$item
แอเรย์ข้อมูลเมนู
$arrow
true แสดงลูกศรสำหรับเมนูที่มีเมนูย่อย
$select
ชื่อเมนูที่ถูกเลือก

Returns

string
kotchasan API documentation generated by ApiGen