public function getFrameType($type)
    {
        if (is_int($type)) {
            return $type;
        }
        if ($type === null) {
            $type = 'STRING';
        }
        $frametype = @constant(get_class($this) . '::' . $type);
        if ($frametype === null) {
            Daemon::log(__METHOD__ . ' : Undefined frametype "' . $type . '"');
        }
        return $frametype;
    }
public function getFrameType($type)
    {
        if (is_int($type)) {
            return $type;
        }
        if ($type === null) {
            $type = 'STRING';
        }
        $frametype = @constant(get_class($this) . '::' . $type);
        if ($frametype === null) {
            Daemon::log(__METHOD__ . ' : Undefined frametype "' . $type . '"');
        }
        return $frametype;
    }
public function getFrameType ( $ type ) { if ( is_int ( $ type ) ) { return $ type ; } if ( $ type === null ) { $ type = 'STRING' ; } $ frametype = @ constant ( get_class ( $ this ) . '::' . $ type ) ; if ( $ frametype === null ) { Daemon :: log ( __METHOD__ . ' : Undefined frametype "' . $ type . '"' ) ; } return $ frametype ; }
Get real frame type identificator
@param $type
@return integer
Get real frame type identificator