PHP_ArrayOf
[ class tree: PHP_ArrayOf ] [ index: PHP_ArrayOf ] [ all elements ]

Class: PHP_ArrayOfInterface

Source Location: /PHP_ArrayOf-0.2.1/PHP/ArrayOfInterface.php

Class Overview

ArrayAccess
   |
   --PHP_ArrayOfInterface

Interface declaration


Author(s):

Version:

  • Release: 0.2.1

Methods


Inherited Variables

Inherited Methods


Class Details

[line 58]
Interface declaration


[ Top ]


Method Detail

convertOffsetValue   [line 91]

array convertOffsetValue( mixed $offset, mixed $value)

Converts an offset/value pair
  • Return: 2-element array [new offset to use, new value to use]
  • Access: public

Parameters:

mixed   $offset   —  offset to convert
mixed   $value   —  value to convert

[ Top ]

isValidElement   [line 69]

boolean isValidElement( mixed $value)

Checks whether a value is suitable for the array
  • Return: TRUE if valid, FALSE otherwise
  • Access: public

Parameters:

mixed   $value   —  value to check

[ Top ]

offsetAvailable   [line 80]

boolean offsetAvailable( mixed $offset, mixed $value)

Checks if an element can be set at the offset
  • Return: TRUE if can be set, FALSE otherwise
  • Access: public

Parameters:

mixed   $offset   —  offset to use
mixed   $value   —  value that would be set

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:21:22 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.