Live Templates Surrounding Multiple PHP lines?

Is it possible to surround multiple lines in php with a live template as you can in zen coding?

I have created some live templates for validaton such as

if(empty($this->$VAR1$)) $this->invalids['$VAR1$'] = "required field";

Right now I am simply using as a regular live template and filling in the values... but it would be great if I could just go...


name
email
street_address
etc....

... select all lines and then wrap each with the live template.

Thanks,

1 comment
Comment actions Permalink

Hi Christian,

No -- "Surround with" will apply once and to whole selection.

0

Please sign in to leave a comment.