public function validURLSegment()
    {
        $conflict = Member::get()->filter('URLSegment', $this->owner->URLSegment);

        if ($this->owner->ID) {
            $conflict = $conflict->exclude('ID', $this->owner->ID);
        }

        return $conflict->count() == 0;
    }
public function validURLSegment()
    {
        $conflict = Member::get()->filter('URLSegment', $this->owner->URLSegment);

        if ($this->owner->ID) {
            $conflict = $conflict->exclude('ID', $this->owner->ID);
        }

        return $conflict->count() == 0;
    }
public function validURLSegment ( ) { $ conflict = Member :: get ( ) -> filter ( 'URLSegment' , $ this -> owner -> URLSegment ) ; if ( $ this -> owner -> ID ) { $ conflict = $ conflict -> exclude ( 'ID' , $ this -> owner -> ID ) ; } return $ conflict -> count ( ) == 0 ; }
Returns TRUE if this object has a URL segment value that does not conflict with any other
objects.

@return bool
Returns TRUE if this object has a URL segment value that does not conflict with any other objects .