public function uidGet()
    {

        // got uid
        if( isset( $this->uid ) ) {

            return $this->uid->key;

        // got key
        } elseif( $key = $this->keyGet( $this ) ) {

            return $key;

        }

        $this->uid = new Uid( $this );
        return $this->uid->key;

    }
public function uidGet()
    {

        // got uid
        if( isset( $this->uid ) ) {

            return $this->uid->key;

        // got key
        } elseif( $key = $this->keyGet( $this ) ) {

            return $key;

        }

        $this->uid = new Uid( $this );
        return $this->uid->key;

    }
public function uidGet ( ) { // got uid if ( isset ( $ this -> uid ) ) { return $ this -> uid -> key ; // got key } elseif ( $ key = $ this -> keyGet ( $ this ) ) { return $ key ; } $ this -> uid = new Uid ( $ this ) ; return $ this -> uid -> key ; }
Get a uid for a object. This uid has the following properties.

1. Two different objects won't share the same uid simultaneously
2. In normal script usage a object's uid won't change in the script lifecycle.
To fiddle this you'd need to diddling hard with setDirect and the only thing that should be doing that is the record manager.
3. A objects uid is only good for the lifetime of a script.
4. The uid is no good for looking up a object. This is a strictly one-way thing
5. The numbers are not deep and meaningfull. You can't infer anything from them. They are just, well, numbers.
Get a uid for a object . This uid has the following properties .