Class: dataEra

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\dataType\dataEra.datatype.php between lines 45 and 86.

<?php
 
    
/**
     * 
     */

    
abstract class dataEra extends dataObject implements dataNameValuePair
    
{
        
        protected 
$_intTimestamp;
        
        function 
__construct ($strFieldName$mixNodeValue=NULL$arrFieldParam=Array())
        {
            
parent::__construct ($strFieldName);
            
            
$this->_arrFieldParam $arrFieldParam;
            
            if (
$mixNodeValue)
            {
                
$this->___setValue ($mixNodeValue);
            }
        }
        
        public function 
___Sterile ()
        {
            return 
TRUE;
        }
        
        public function 
___setValue ($mixNodeValue)
        {
            
$this->_intTimestamp $mixNodeValue;
        }
        
        public function 
___setSql ($mixNodeValue)
        {
            return 
$this->___setValue (strtotime ($mixNodeValue));
        }
        
        public function 
___getValue ()
        {
            
$this->___getSql ();
        }
        
        function 
__toString ()
        {
            return 
$this->___getSql ();
        }
    }

?>