<?php

/**
 * @name          : Joomla Social Pinboard
 ** @version	  : 2.0
 * @package       : apptha
 * @since         : Joomla 1.5
 * @author        : Apptha - http://www.apptha.com
 * @copyright     : Copyright (C) 2011 Powered by Apptha
 * @license       : http://www.gnu.org/licenses/gpl-3.0.html GNU/GPL
 * @abstract      : Social Pinboard Component boardedit view
 * @Creation Date : March 2013
 * @Modified Date : March 2013
 * */
// No direct Access
defined('_JEXEC') or die('Restricted access');

jimport('joomla.application.component.view');

class wishlogueViewcatalogueedit extends WishlogueView {

    public function display($tpl = null) {
        global $mainframe;
        $model = $this->getModel();

        //get Boards to Edit
        $boardEdits = $model->getBoardEdit();
        $this->assignRef('boardEdit', $boardEdits);

        //get Categories
        $pincate = $model->getCategory();
        $this->assignRef('pincate', $pincate);

        //update boards
        $updateboard = $model->updateBoard();
        $this->assignRef('updateboard', $updateboard);
        // Delete Board
        $deleteboard = $model->deleteBoard();
        $this->assignRef('deleteboard', $deleteboard);

        //contributers board
        $Contributers = $model->boardContributers();
        $this->assignRef('Contributers', $Contributers);

        $getUserBoardDetails = $model->getUserBoardDetails();
        $this->assignRef('getUserBoardDetails', $getUserBoardDetails);
        parent::display($tpl);
    }

}
