On 09/04/2014 06:10 PM, jcbollinger wrote:
> You may need to define local versions of them that equal the param
> or default to the param.
>
> $var = $::class::params::var
>
>
>
> Note that the point of the pattern of inheriting params classes is only
> to ensure that the inherited
On Wednesday, September 3, 2014 9:05:20 AM UTC-5, Atom Powers wrote:
>
> You may need to define local versions of them that equal the param or
> default to the param.
>
> $var = $::class::params::var
>
>
Note that the point of the pattern of inheriting params classes is only to
ensure that the
Thanks - this works. Seems a bit inelegant, but it'll have to do.
Cheers,
Jonathan
On 03/09/14 15:05, Atom Powers wrote:
You may need to define local versions of them that equal the param or
default to the param.
$var = $::class::params::var
On Wed, Sep 3, 2014 at 5:58 AM, Jonathan Gazeley
You may need to define local versions of them that equal the param or
default to the param.
$var = $::class::params::var
On Wed, Sep 3, 2014 at 5:58 AM, Jonathan Gazeley <
jonathan.gaze...@bristol.ac.uk> wrote:
> Hopefully this is just me having a bad day, but I'm having trouble writing
> a new
Hopefully this is just me having a bad day, but I'm having trouble
writing a new module.
I have a mymodule::params class with some sensible site defaults in it,
and the other classes "inherit mymodule::params".
I also have some defined types, and of course you can't use 'inherits'
in a defin