Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

Access Object Method in Template

 
Post new topic   Reply to topic    Smarty Forum Index -> Language: German
View previous topic :: View next topic  
Author Message
holunda
Smarty Rookie


Joined: 27 Jun 2003
Posts: 28
Location: Austria > Tyrol

PostPosted: Mon Aug 16, 2004 3:12 pm    Post subject: Access Object Method in Template Reply with quote

Hallo,

habe eine Frage bezüglich Permissions.
In meinem PHP Code frage ich die Rechte folgendermaßen ab:

[php:1:e4e6869cf3]<?php

if ($ui->hasGrant("termin", BR_READ)) // return boolean

?>[/php:1:e4e6869cf3]

der Vergleich wird bitweise ermittelt: ($row['recht'] & BR_READ)´
Wie kann ich die Methode in Smarty ansteuern?

lG
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> Language: German All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP