[pLog-svn] setMangledBlogName parameter

Oscar Renalias oscar at renalias.net
Sat Apr 7 17:35:30 EDT 2007


The $modify parameter is used to tell the method that whatever  
parameter is being passed as the new mangled blog name, it should not  
be processed through Textfilter::domainize() and that its literal  
value should be taken. I looked through the code and the only place  
where this parameter is kept to 'false' is in Blogs::mapRow(),  
Blogs::addBlog() and Blogs::updateBlog()

I think this parameter hasn't been there for long, I think I added it  
because of a bug so let's leave it there as it is...

Oscar

On 7 Apr 2007, at 22:46, Jon Daley wrote:

>  	What is the purpose of the $modify parameter in the
> setMangledBlogName() function?  It seems like we should always  
> modify it
> to make sure that we always have good data.  At minimum, it seems  
> like the
> default value for $modify should be true, so you have to explicitly  
> say,
> "don't modify this data to make it standard - I know what I am doing".
>
>  	I don't see a bug currently in the code, but I am debugging a
> urlize/domainize issue, and noticed the $modify parameter.
>
> -- 
> Jon Daley
> http://jon.limedaley.com/
>
> Don't take life too seriously that you lose the value of it.
> -- Dr. Richard Farmer
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://limedaley.com/mailman/listinfo/plog-svn
>



More information about the pLog-svn mailing list