Overview

Namespaces

  • Nethgui
    • Adapter
    • Authorization
    • Component
    • Controller
      • Collection
      • Table
    • Exception
    • Log
    • Model
    • Module
      • Help
      • Notification
    • Renderer
    • Serializer
    • System
    • Test
      • Tool
      • Unit
        • Nethgui
          • Adapter
            • ParameterSet
          • Authorization
          • Log
          • Module
            • Notification
          • Renderer
          • Serializer
          • System
          • Utility
          • View
        • Test
          • Tool
    • Utility
    • View
    • Widget
      • Xhtml
  • None
  • Test
    • Tool

Classes

  • ArrayAdapter
  • LazyLoaderAdapter
  • MultipleAdapter
  • RecordAdapter
  • RecordKeyAdapter
  • ScalarAdapter
  • TableAdapter
  • TabularValueAdapter

Interfaces

  • AdapterAggregateInterface
  • AdapterAggregationInterface
  • AdapterInterface
  • ModifiableInterface
  • Overview
  • Namespace
  • Class
  • Deprecated

Class TabularValueAdapter

The TabularValueAdapter provide an array interface to access tabular data encoded into a value stored in a key or prop.

The encoding uses two distinct string separators to divide the logical rows and split each row into logical columns.

Note implementation applies Decorator Pattern to ArrayAdapter

Nethgui\Adapter\TabularValueAdapter implements Nethgui\Adapter\AdapterInterface, ArrayAccess, IteratorAggregate, Countable
Namespace: Nethgui\Adapter
Author: Davide Principi davide.principi@nethesis.it
Since: 1.0
Api
Located at Adapter/TabularValueAdapter.php
Methods summary
public
# __construct( Nethgui\Adapter\ArrayAdapter $innerAdapter, $columnSeparator )
public
# count( )

Implementation of

Countable::count()
public
# delete( )

Api

Implementation of

Nethgui\Adapter\AdapterInterface::delete()
public mixed
# get( )

Returns

mixed

Api

Implementation of

Nethgui\Adapter\AdapterInterface::get()
public
# set( $value )

Api

Var

mixed $value

Implementation of

Nethgui\Adapter\AdapterInterface::set()
public boolean
# save( )

Persist the object state

Persist the object state

Returns

boolean

See

Nethgui\Adapter\TabularValueAdapter::isModified()

Api

Implementation of

Nethgui\Adapter\ModifiableInterface::save()
public
# getIterator( )

Implementation of

IteratorAggregate::getIterator()
public bool;
# isModified( )

Report if the object state has been changed from the last save()

Report if the object state has been changed from the last save()

Returns

bool;

Api

Implementation of

Nethgui\Adapter\ModifiableInterface::isModified()
public
# offsetExists( $offset )

Implementation of

ArrayAccess::offsetExists()
public
# offsetGet( $offset )

Implementation of

ArrayAccess::offsetGet()
public
# offsetSet( $offset, $value )

Implementation of

ArrayAccess::offsetSet()
public
# offsetUnset( $offset )

Implementation of

ArrayAccess::offsetUnset()
Nethgui Framework API documentation generated by ApiGen