Class: dataArray

Attributes:
Inherits:
Implements:

Contents:

Introduction

Meta Data

Attention
Attention: There is no meta data for this class.

Constants

There are no constants defined for this class.

Properties

Methods

Also See

Attention
Attention: There are no additional references for this class.

Class Syntax

In file D:\oblib-core\php\oblib\dataList\dataList.list.php between lines 226 and 256.

<?php
 
    
/**
     * 
     */

    
class dataArray extends dataList
    
{
        
        private 
$_strNodeType;
        public 
$slp_strNodeType;
        
        function 
__construct ($strNodeName$strNodeType)
        {
            
parent::__construct ($strNodeName);
            
            
$this->_strNodeType $strNodeType;
        }
        
        function 
___Index ($objNode)
        {
            return 
$objNode->___Primary ();
        }
        
        public function 
___Push ($objNode)
        {
            if (
$this->_strNodeType)
            {
                if (!(
$objNode instanceOf $this->_strNodeType) && !is_subclass_of ($objNode$this->_strNodeType))
                {
                    throw new 
ExceptionCore ('Object must be of type: ' $this->_strNodeType);
                }
            }
            
            return 
parent::___Push ($objNode);
        }
    }

?>