public static function add(/** polymorphic **/)
    {
       $args = func_get_args();
       $that = self::get_this($args);
       $term = self::get_term($args);

       $url = URIResource::Make($that->path, array($that->id, $term));

       $id = Locator::Find($that->client->post($url, $args->get()));
        
       return $this->$term($id);
    }
public static function add(/** polymorphic **/)
    {
       $args = func_get_args();
       $that = self::get_this($args);
       $term = self::get_term($args);

       $url = URIResource::Make($that->path, array($that->id, $term));

       $id = Locator::Find($that->client->post($url, $args->get()));
        
       return $this->$term($id);
    }
public static function add ( /** polymorphic **/ ) { $ args = func_get_args ( ) ; $ that = self :: get_this ( $ args ) ; $ term = self :: get_term ( $ args ) ; $ url = URIResource :: Make ( $ that -> path , array ( $ that -> id , $ term ) ) ; $ id = Locator :: Find ( $ that -> client -> post ( $ url , $ args -> get ( ) ) ) ; return $ this -> $ term ( $ id ) ; }
prototypal add. This needs
term to be set as a function
in its caller it will be used
to initialize the resulting
object

Conference->addMember
should return
ConferenceMember

@params: mix of function arguments as well as object prototypes, terms
prototypal add . This needs term to be set as a function in its caller it will be used to initialize the resulting object