From: Jason S. <jsw...@ya...> - 2003-07-07 03:38:16
|
err...@TODO: fill these in later :) /** * add a form to the mapping * * "protected" function to be used by the constructor function of a derived class * @param string $psIdent the identifer for the form * @param string $psType the name of this form's class * @return boolean sucess */ function _AddForm($psIdent, $psType) /** * add a map to the mapping * * "protected" function to be used by the constructor function of a derived class * @param string $psIdent identifier for this mapping (the value you pass) * @param string $psType the class name for this action * @param string $psInput base URL from which this action is typically called * @param string $psForm optional name of the form to use for this mapping, will be the same as $psIdent if not specified * @param integer $piValidate validate if 1 * @return boolean sucess */ function _AddMapping($psIdent, $psType, $psInput, $psForm='_DEFAULT_', $piValidate=0) /** * add a forward to an existing mapping * * "protected" function to be used by the constructor function of a derived class * @param string $psMapIdent the identifier of the mapping this is a forward for * @param string $psFwdIdent the identifier for this forward * @param string $psPath optional, path to forward to, will use mapping $psInput as default * @param integer $piRedir optional, clear session on redirect if set to 1, defaults to 0 * @return boolean sucess */ function _AddForward($psMapIdent, $psFwdIdent, $psPath='_DEFAULT_', $piRedir=0) Jason --- Mike Carter <mi...@bu...> wrote: > Hi, > > When trying to define a map by extending the MappingManager class (by > Jason S) I'd like to know exactly what the method parameters are. > > The in-line documentation is a bit sparse in this area, detailing only > the return variable :-( > > For example, what's all the input variables for: > > MappingManager::_AddMapping($psIdent, $psType, $psInput, > $psForm='_DEFAULT_', $piValidate=0) > > I can look at the example code from the PHP|architect example but it > would be easier and nicer if it was inline too - on hand whilst trying > to get my head around MVC (still). > > I left all the MVC for over a month, hoping that when I come back it > would be all clear - erm, that hasn't quite worked though. > > Regards, > > _________________________________________ > Mike Carter > ICQ#: 29173597 > More ways to contact me: http://wwp.icq.com/29173597 > _________________________________________ > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.483 / Virus Database: 279 - Release Date: 19/05/2003 > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > _______________________________________________ > Phrame-devel mailing list > Phr...@li... > https://lists.sourceforge.net/lists/listinfo/phrame-devel __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com |