NYCPHP Meetup

NYPHP.org

[nycphp-talk] What UserLogin/Auth mechanism do you use ?

David Mintz dmintz at davidmintz.org
Sun Dec 14 12:07:02 EST 2003


On Sat, 13 Dec 2003, Chris Snyder wrote:

> An in-code example looks something like:
>
> $editcontrols = '';
> if ( $auth->hasRole('calendar::editor') ) {
>    $editcontrols = "<a href=\"$this->url?action=edit\">edit
> $this->type</a>";
> }

One (stupid?) question. Of what class is $this an instance?



More information about the talk mailing list