sfUser

One can override the myUser class in the frontend/lib directory. One can put new functions like getViewedHistory(), setViewedHistory() there.

To get a table info, use DoctrineCore::getTable()

Once get the table, use ->createQuery()

Basics of getting history – getAttribute(), setAttribute().

In the template use $sf_user-> to call the methods.

in apps/backend/config/security.yml, default: is_secure change to true. This will restrict the backend app.

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s