Sgss_Collection_TableRow_Interface 
Provides for table row associated between columns and values

Description

Author:
Matsuda Shota
Copyright:
(c) 2007-2008 Matsuda Shota
License:
http://creativecommons.org/licenses/GPL/2.0/
Located in:
/Collection/TableRow/Interface.php (line 40)

Class overview

Methods

boolean delete (mixed $column)

Deletes the value at the specified column of this row

mixed get (mixed $column)

Returns the value at the specified column of this row

boolean has (mixed $column)

Determines the specified column identifier is defined in the table containing this row

boolean insert ()

Inserts or replaces this row into the containing table

boolean remove ()

Removes this row from the containing table

boolean set (mixed $column, mixed $value)

Inserts or replaces the specified value into the specified column of this row

array toArray ()

Converts this row to an associated array

mixed __get (mixed $name)
boolean __isset (mixed $name)
mixed __set (mixed $name, mixed $value)
void __unset (mixed $name)

Method detail

delete

Deletes the value at the specified column of this row

Parameters:
  • mixed $column

    Column identifier from which the value to be removed

Returns:
boolean -- True when the operation changed this row
Used by:
Sgss_Collection_TableRow_Abstract::__unset()
Signature:
public boolean delete (mixed $column)


get

Returns the value at the specified column of this row

Parameters:
  • mixed $column

    Column identifier from which the value to be retrieved

Returns:
mixed -- Value at the column of this row
Used by:
Sgss_Collection_TableRow_Abstract::offsetGet(), Sgss_Collection_TableRow_Abstract::__get()
Signature:
public mixed get (mixed $column)


has

Determines the specified column identifier is defined in the table containing this row

Parameters:
  • mixed $column

    Column identifier to determine

Returns:
boolean -- True when the column identifier is defined in the table
Used by:
Sgss_Collection_TableRow_Abstract::offsetExists(), Sgss_Collection_TableRow_Abstract::__isset()
Signature:
public boolean has (mixed $column)


insert

Inserts or replaces this row into the containing table

Returns:
boolean -- True when the operation changed the containing table
Signature:
public boolean insert ()


remove

Removes this row from the containing table

Returns:
boolean -- True when the operation changed the containing table
Used by:
Sgss_Collection_TableRow_Abstract::offsetUnset()
Signature:
public boolean remove ()


set

Inserts or replaces the specified value into the specified column of this row

Parameters:
  • mixed $column

    Column identifier into which the value to be inserted

  • mixed $value

    Value to be inserted into the specified column of this row

Returns:
boolean -- True when the operation changed this row
Used by:
Sgss_Collection_TableRow_Abstract::offsetSet(), Sgss_Collection_TableRow_Abstract::__set()
Signature:
public boolean set (mixed $column, mixed $value)


toArray

Converts this row to an associated array

Returns:
array -- Associated array representing this row
Signature:
public array toArray ()


__get

Parameters:
  • mixed $name
Signature:
public mixed __get (mixed $name)


__isset

Parameters:
  • mixed $name
Signature:
public boolean __isset (mixed $name)


__set

Parameters:
  • mixed $name
  • mixed $value
Signature:
public mixed __set (mixed $name, mixed $value)


__unset

Parameters:
  • mixed $name
Signature:
public void __unset (mixed $name)