Hi

I would like some guidance on best practices for Action Helpers;

I currently use the following in my controllers

        // Get the Users Profile PIC URL
        $this->_helper->facebookPhotos($social);

        // Setup the Invite elements
        $profilePic = $this->_helper->facebookPhotos->getProfilePicURL();

In the helper I have:

    public function direct($social)
    {
        $this->social = $social;
    }

    public function getProfilePicURL() {
    }

Last time I checked I couldnt do something like:

   $profilePic =
$this->_helper->facebookPhotos($social)->getProfilePicURL();

Or even
   $helper = $this->_helper->facebookPhotos($social);
   $profilePic = $helper->getProfilePicURL();

Can you give me any pointers on how to invoke and also optimise these little
beauties.

Thanks
IAn

Reply via email to