Skip to content

Instantly share code, notes, and snippets.

@renovatorruler
Created May 20, 2010 16:46
Show Gist options
  • Save renovatorruler/407790 to your computer and use it in GitHub Desktop.
Save renovatorruler/407790 to your computer and use it in GitHub Desktop.
<?
public function bandMembersAction()
{
$this->view->layout()->setLayout("minimum");
if(!$this->_has_extended_perm){
$this->_forward("grant-permissions", "facebook", "invite");
}
$this->_band_id="Hello";
$this->view->user_id=$this->_user_id;
$this->view->has_extended_perm=$this->_has_extended_perm;
}
public function formRealAction()
{
$this->_helper->getHelper("layout")->setLayout("minimum");
$this->view->band_id=$this->_band_id;
$this->view->user_id=$this->_user_id;
$this->view->has_permissions=$this->_has_extended_perm;
$this->view->ext_perms=$this->_facebook_client->ext_perms;
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment