final public function getId() {
		
		$ids = array();
			
		foreach ($this->keyProperties as $propertyName) {
			$ids[] = $this->{$propertyName};
		}
		
		return (static::hasCompoundKey() ? $ids : $ids[0]);
		
	}
final public function getId() {
		
		$ids = array();
			
		foreach ($this->keyProperties as $propertyName) {
			$ids[] = $this->{$propertyName};
		}
		
		return (static::hasCompoundKey() ? $ids : $ids[0]);
		
	}
final public function getId ( ) { $ ids = array ( ) ; foreach ( $ this -> keyProperties as $ propertyName ) { $ ids [ ] = $ this -> { $ propertyName } ; } return ( static :: hasCompoundKey ( ) ? $ ids : $ ids [ 0 ] ) ; }
Returns unique ID of inherited object or in case of compound key, an indexed array.

@return int|string|array
Returns unique ID of inherited object or in case of compound key an indexed array .