On Wed, 19 Sep 2007, Kore Nordmann wrote: > While writing a public static method I came across a problem. Options or > class properties are not available, because we don't have a option > object accessible in the class, so I ended up with a quite huge amount > of optional parameters for my method: > > static public function copyRecursive( $source, $destination, $depth = > -1, $followSymlinks = false, $dirMode = 0775, $fileMode = 0644 ) > > Frederik told me, that he had the same problem some time ago, so I > thought, that it is the right time to discuss it with you...
And we already have a documented solution: http://ez.no/ezcomponents/contributing/coding_standards#id48 regards, Derick -- Components mailing list [email protected] http://lists.ez.no/mailman/listinfo/components
