X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Flib%2FRT%2FURI%2Ffreeside.pm;h=64fb377fd18b71e2a2fbeb40777d10ed588be8cf;hb=HEAD;hp=6194fd0cb338b5821d2b287ecaa447260f2b8739;hpb=624b2d44625f69d71175c3348cae635d580c890b;p=freeside.git diff --git a/rt/lib/RT/URI/freeside.pm b/rt/lib/RT/URI/freeside.pm index 6194fd0cb..64fb377fd 100644 --- a/rt/lib/RT/URI/freeside.pm +++ b/rt/lib/RT/URI/freeside.pm @@ -83,6 +83,15 @@ A wrapper for the FS::cust_main::smart_search subroutine. sub smart_search { return undef; } +=item email_search + +A wrapper for the FS::cust_main::email_search subroutine. + +=cut + +sub email_search { return undef; } + + =item small_custview A wrapper for the FS::CGI::small_custview subroutine. @@ -202,7 +211,7 @@ sub ParseURI { $pkey = $2; unless ( $pkey ) { - cluck "bad URL $uri"; + #way too noisy, using this prefix is normal usage# cluck "bad URL $uri"; return(undef); } @@ -290,8 +299,19 @@ if ($@ && die $@; }; -=back +=item CustomerInfo + +Return a hashref of customer information, including all fields from +C as well as: + +- AgentName: the name of the customer's agent +- CustomerClass: the name of the customer's class +- CustomerTags: an arrayref of tags attached to the customer, each + as a hashref with keys "name", "desc", and "color". +- Referral: the name of the customer's advertising source. =cut +sub CustomerInfo { {} } + 1;