当前位置: 首页>>代码示例>>PHP>>正文


PHP TbHtml::link方法代码示例

本文整理汇总了PHP中TbHtml::link方法的典型用法代码示例。如果您正苦于以下问题:PHP TbHtml::link方法的具体用法?PHP TbHtml::link怎么用?PHP TbHtml::link使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在TbHtml的用法示例。


在下文中一共展示了TbHtml::link方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: renderDataCellContent

 /**
  * Renders the data cell content.
  *
  * @param integer $row the row number (zero-based)
  * @param YdActiveRecord $data the data associated with the row
  */
 protected function renderDataCellContent($row, $data)
 {
     ob_start();
     parent::renderDataCellContent($row, $data);
     $parentContents = ob_get_clean();
     if ($data instanceof CActiveRecord) {
         $links = is_callable(array($data, 'getMenuLinks')) ? call_user_func(array($data, 'getMenuLinks')) : array();
         if ($links) {
             if (is_callable(array($data, 'getUrl'))) {
                 $this->buttonOptions['type'] = TbHtml::BUTTON_TYPE_LINK;
                 $this->buttonOptions['url'] = call_user_func(array($data, 'getUrl'));
             }
             echo '<div class="filter-container">';
             $this->buttonOptions['split'] = true;
             echo TbHtml::buttonDropdown($parentContents, $links, $this->buttonOptions);
             echo '</div>';
         } else {
             $url = is_callable(array($data, 'getUrl')) ? call_user_func(array($data, 'getUrl')) : false;
             if ($url) {
                 $this->buttonOptions['class'] = isset($this->buttonOptions['class']) ? $this->buttonOptions['class'] . ' btn' : 'btn';
                 echo TbHtml::link($parentContents, $url, $this->buttonOptions);
             } else {
                 echo TbHtml::button($parentContents, $this->buttonOptions);
             }
         }
     } else {
         echo TbHtml::button($parentContents, $this->buttonOptions);
     }
 }
开发者ID:cornernote,项目名称:yii-dressing,代码行数:35,代码来源:YdDropdownColumn.php

示例2: actionCreate

 /**
  * Creates a new model.
  * If creation is successful, the browser will be redirected to the 'view' page.
  */
 public function actionCreate($id)
 {
     $model = new EacStatusLog();
     $decision = EacDecision::model()->findByPk($id);
     // Uncomment the following line if AJAX validation is needed
     // $this->performAjaxValidation($model);
     if (isset($_POST['EacStatusLog'])) {
         $model->attributes = $_POST['EacStatusLog'];
         $model->decision_id = $id;
         $model->approved = 0;
         //not approved
         $model->create_user_id = Yii::app()->user->id;
         $model->date_created = date('Y-m-d H:i:s');
         $model->date_updated = date('Y-m-d H:i:s');
         if ($model->save()) {
             if ($decision) {
                 $decision->implementation_status_id = $model->status_id;
                 $decision->save();
                 Yii::app()->user->setFlash(TbHtml::ALERT_COLOR_SUCCESS, 'Status updated successfully.');
             }
             $criteria = new CDbCriteria();
             $criteria->addColumnCondition(array('is_mda' => 0), 'OR');
             $mdas = $decision->getAssignedMdasIds();
             $criteria->addInCondition('mda_id', $mdas);
             $recipients = User::getNotificationSubscribers($criteria);
             $loggedInUser = User::model()->findByPk(Yii::app()->user->user_id);
             $from = "";
             if (Yii::app()->user->is_mda) {
                 $mda = $loggedInUser->mda;
                 $from = $mda->description;
             } else {
                 $meacOffice = $loggedInUser->meacOffice;
                 $from = $meacOffice->description;
             }
             $message = "Decision {$decision->decision_reference}-({$decision->description}) has been updated by " . Yii::app()->user->getState('loggedInUser') . " from {$from}<br />";
             $message .= $model->status_narrative . "<br />";
             $message .= "For more information click " . TbHtml::link("here", Yii::app()->getBaseUrl(true) . "/index.php?r=eacDecision/view&id={$decision->id}");
             $this->notify($recipients, 'Decision Update', $message);
             $this->redirect(array('/eacDecision/view', 'id' => $id));
         }
     }
     $this->render('create', array('model' => $model, 'decision' => $decision));
 }
开发者ID:robertgunze,项目名称:eams,代码行数:47,代码来源:EacStatusLogController.php

示例3: array

	$('.search-form').toggle();
	return false;
});
$('.search-form form').submit(function(){
	$('#eac-facts-grid').yiiGridView('update', {
		data: $(this).serialize()
	});
	return false;
});
");
?>

<?php echo TbHtml::pageHeader('', 'Common Market'); ?>

<?php echo CHtml::link('Advanced Search','#',array('class'=>'search-button btn')); ?>&nbsp;
<?php echo TbHtml::link('Export to Excel',$this->createUrl('//export/exportCommonMarket'),array('class'=>'btn btn-success'));?>
<br /><br />
<div class="search-form" style="display:none">
    <?php
    $this->renderPartial('_search', array(
        'model' => $model,
    ));
    ?>
</div><!-- search-form -->

<?php
$this->widget('bootstrap.widgets.TbGridView', array(
    'id' => 'eac-facts-grid',
    'dataProvider' => $model->search(),
    'filter' => $model,
    'columns' => array(
开发者ID:robertgunze,项目名称:eams,代码行数:31,代码来源:admin.php

示例4: array

<?php

$form = $this->beginWidget('bootstrap.widgets.TbActiveForm', array('id' => 'eventos-form', 'enableAjaxValidation' => false));
?>
<div class='controles'>
        <h1>Administración De Eventos</h1>
		<div class='col-2'>
		<?php 
echo $form->textFieldControlGroup($model, 'EventoNom', array('append' => TbHtml::submitButton('Buscar', array('class' => 'btn')), 'span' => 3, 'placeholder' => 'Nombre del evento', 'id' => 'filtro-usuario'));
?>
		
<?php 
$this->endWidget();
?>
				<?php 
echo TbHtml::link(' Agregar Evento', array('evento/registro'), array('class' => 'fa fa-plus btn btn-primary'));
?>
		</div>
</div>

<div id='tabla-usuarios'>
		<?php 
$this->widget('bootstrap.widgets.TbGridView', array('id' => 'eventos-grid', 'emptyText' => 'No se encontraron coincidencias', 'dataProvider' => $model->search(), 'summaryText' => '', 'type' => 'condensed hover striped', 'htmlOptions' => array('class' => 'primario'), 'columns' => array(array('header' => 'Id', 'name' => 'EventoId'), array('header' => 'Nombre', 'name' => 'EventoNom'), array('header' => 'Estatus', 'name' => 'EventoSta'), array('header' => 'Inicia', 'name' => 'EventoFecIni'), array('header' => 'Finaliza', 'name' => 'EventoFecFin'), array('class' => 'CButtonColumn', 'header' => 'Acciones', 'template' => '{editar} {alta}{baja}  ', 'buttons' => array('alta' => array('label' => '<span class="text-success fa fa-arrow-up"> Dar Alta </span>', 'url' => 'Yii::app()->createUrl("evento/conmutarEstatus",array(
													"id"=>$data["EventoId"],
											))', 'visible' => '$data["EventoSta"]!="ALTA"', 'click' => 'function(event)
											{ $.ajax({
													url:$(this).attr("href"),
															success: function(data){
																	$.fn.yiiGridView.update("eventos-grid");
															}		
												 });
开发者ID:cicb,项目名称:tpc,代码行数:31,代码来源:index.php

示例5: array

    ?>
    	    </div>
	    <?php 
}
?>

            <p class="help-block" style="text-align:center"><?php 
echo UserModule::t("Please fill out the following form with your login credentials:");
?>
</p>
            <div class="form">
		<?php 
$form = $this->beginWidget('bootstrap.widgets.TbActiveForm', array('id' => 'login-form', 'layout' => TbHtml::FORM_LAYOUT_HORIZONTAL, 'helpType' => TbHtml::HELP_TYPE_BLOCK, 'enableClientValidation' => true, 'clientOptions' => array('validateOnSubmit' => true)));
?>
		<?php 
//echo $form->errorSummary($model);
?>
		<?php 
echo $form->textFieldControlGroup($model, 'username');
?>
		<?php 
echo $form->passwordFieldControlGroup($model, 'password');
?>
		<div class="control-group">
		    <div class="controls">
			<?php 
echo TbHtml::link(UserModule::t("Register"), Yii::app()->getModule('user')->registrationUrl);
?>
 | <?php 
echo TbHtml::link(UserModule::t("Lost Password?"), Yii::app()->getModule('user')->recoveryUrl);
?>
开发者ID:jackycgq,项目名称:advanced,代码行数:31,代码来源:login.php

示例6: array

<?php

/**
 * @var $this DefaultController
 *
 * @author Brett O'Donnell <cornernote@gmail.com>
 * @author Zain Ul abidin <zainengineer@gmail.com>
 * @copyright 2013 Mr PHP
 * @link https://github.com/cornernote/yii-audit-module
 * @license BSD-3-Clause https://raw.github.com/cornernote/yii-audit-module/master/LICENSE
 *
 * @package yii-audit-module
 */
$this->pageTitle = $this->module->getName();
$this->pageHeading = false;
$content = CHtml::tag('p', array(), Yii::t('audit', 'You may use the following tools to help audit your application.'));
foreach (array_keys($this->module->controllerMap) as $controllerName) {
    $content .= ' ' . TbHtml::link(Yii::t('audit', ucfirst($controllerName)), array($controllerName . '/index'), array('class' => 'btn btn-large btn-primary'));
}
$this->widget('bootstrap.widgets.TbHeroUnit', array('heading' => $this->module->getName(), 'content' => $content));
开发者ID:Horlacher,项目名称:yii-audit-module,代码行数:20,代码来源:index.php

示例7: array

<?php

/* @var $this RelasiPengadaanSparepartController */
/* @var $model RelasiPengadaanSparepart */
$this->breadcrumbs = array('Relasi Pengadaan Spareparts' => array('index'), $model->ID_RELASI);
?>

<h1>Daftar Sparepart yang dipilih #<?php 
echo $id;
?>
</h1>

<?php 
$this->widget('bootstrap.widgets.TbGridView', array('id' => 'relasiPengadaanSparepart-grid', 'type' => TbHtml::GRID_TYPE_HOVER, 'dataProvider' => $model->search2($id), 'template' => "{items}\n{pager}", 'columns' => array(array('header' => 'No', 'value' => '$this->grid->dataProvider->pagination->currentPage*$this->grid->dataProvider->pagination->pageSize + $row+1'), array('name' => 'ID Pengadaan', 'value' => '$data->ID_PENGADAAN'), array('name' => 'Nama Sparepart', 'value' => '$data->iDSPAREPART->NAMA_BARANG'), array('name' => 'Jumlah', 'type' => 'raw', 'value' => function ($data, $row) {
    if ($data->JUMLAH == NULL) {
        return TbHtml::link("ISI JUMLAH", array("relasiPengadaanSparepart/isi", "id" => $data->ID_RELASI), array('style' => 'font-weight:900;text-decoration:none;'));
    } else {
        return $data->JUMLAH;
    }
}), array('name' => 'Harga Sementara', 'value' => '$data->HARGA_SEMENTARA'))));
开发者ID:aunorafiq,项目名称:jks,代码行数:20,代码来源:view.php

示例8: foreach

			<?php 
foreach ($model->zonas as $zona) {
    # Zonas de la distribucion
    $this->renderPartial('_zona', array('model' => $zona, 'scenario' => 'insert'));
}
?>
			<i id="feedback-funcion" class="fa fa-3x hidden" ></i><br/><br/>
		</div>
	<?php 
echo TbHtml::ajaxButton(' Agregar una zona', $this->createUrl('distribuciones/agregarZona', array('EventoId' => $model->EventoId, 'FuncionesId' => $model->FuncionesId)), array('type' => 'POST', 'success' => "function(resp){\n\t\t\t\$('#area-zonas').append(resp)\n\t\t}", 'complete' => 'function(){ $("#feedback-funcion").toggleClass("fa-spinner fa-spin","hidden"); }'), array('id' => 'btn-agregar-zona', 'class' => 'btn btn-success fa fa-2x fa-plus-circle center '));
?>
<br />
<br />
<div class='row-fluid'>
	<?php 
echo TbHtml::link(' Regresar', array('evento/actualizar', 'id' => $model->EventoId), array('class' => 'btn fa fa-arrow-left'));
?>
	<?php 
echo TbHtml::ajaxButton(' Asignar esta distribución a todas las funciones', $this->createUrl('distribuciones/asignarATodas'), array('beforeSend' => 'function(){return  confirm("¿Confirma asignar esta distribución a todas las demas funciones?\\nEsto implica perder cualquier distribución previamente asignada a las demas funciones"); }', 'success' => 'function(resp){alert(resp);}', 'type' => 'POST', 'data' => array('ForoId' => $model->ForoId, 'ForoMapIntId' => $model->ForoMapIntId, 'EventoId' => $model->EventoId, 'FuncionesId' => $model->FuncionesId)), array('id' => 'btn-asignar-todas', 'class' => 'btn btn-info fa fa-th'));
?>
</div>


	</div>
</div>
<?php 
$EventoId = $model->EventoId;
$FuncionesId = $model->FuncionesId;
//$ZonasId=$zona->ZonasId;
Yii::app()->clientScript->registerScript('controles', "\nfunction cambiarValores(control){\n\t\tvar key=control.attr('name');\n\t\tvar value=control.val();\n\t\tvar data={Zonas:{ EventoId:{$EventoId}, FuncionesId:{$FuncionesId}, ZonasId:control.data('id') }};\n\t\tdata['Zonas'][key]=value;\n\t\t\$.ajax({\n\t\t\t\turl: '" . $this->createUrl('AsignarValorZona') . "',\n\t\t\t\t\t\ttype:'POST',\n\t\t\t\t\t\tdata:data,\n\t\t});\n}\n\$('.ZonasCantSubZon').live('focusout',function(){\n\t\tcambiarValores(\$(this));\n});\n\$('.ZonasCanLug').live('focusout',function(){\n\t\tcambiarValores(\$(this));\n});\n\$('.ZonasCosBol').live('focusout',function(){\n\t\tcambiarValores(\$(this));\n});\n\$('.ZonasAli').live('focusout',function(){\n\t\tcambiarValores(\$(this));\n});\n\$('.ZonasTipo').live('change',function(){\n\t\tcambiarValores(\$(this));\n});\n\n\$( '.nodo-toggle').live('click',function(){\n\tvar uid= \$(this).data('uid');\n\tvar link= \$(this);\n\tif (link.data('estado')=='inicial') {\n\t\tvar href= link.attr('href');\n\t\t\$.ajax({\n\t\t\turl:href,\n\t\t\tsuccess:function(data){ \n\t\t\t\t\$('#hijos-'+uid).append(data);\n\t\t\t\tlink.data('estado','toggle')\n\t\t\t\tlink.toggleClass('fa-minus-square');\n\t\t\t}\n\t\t});\n\t}\n\telse if (link.data('estado')=='toggle'){\n\t\tlink.toggleClass('fa-minus-square');\n\t\t\$('#rama-'+uid).toggle();\n\t}\n\treturn false;\n})\n\t\t\$('.btn-generar-arbol').live('click',function(){\n\t\t\t\tvar obj=\$(this);\n\t\t\t\tvar zid=obj.data('zid');\n\t\t\t\tvar dir=obj.attr('href');\n\t\t\t\t\$.ajax({\n\t\t\t\t\t\turl:dir,\n\t\t\t\t\t\ttype:'POST',\n\t\t\t\t\t\tdata:{Zonas:{EventoId:{$EventoId},FuncionesId:{$FuncionesId},ZonasId:zid}},\n\t\t\t\t\t\tsuccess:function(resp){ \$('#arbol-'+zid).html(resp); },\n\t\t\t\t\t\tbeforeSend:function(){ \$('#arbol-'+zid).html('<i class=\\'fa fa-spinner fa-spin\\'></i> '); }\n\t\t\t\t});\n\t\t\t\treturn false;\n\t\t});\n");
?>
开发者ID:cicb,项目名称:tpc,代码行数:31,代码来源:guardar.php

示例9: array

/* @var $form \TbActiveForm */
?>
<div class="register-controller index-action">

    <h1><?php 
echo CHtml::encode(\Yii::app()->name);
?>
</h1>

    <?php 
$form = $this->beginWidget('\\TbActiveForm', array('id' => $this->formId, 'enableAjaxValidation' => true));
?>

    <p class="register-login help-block">
        <?php 
echo Helper::t('views', 'If you already have an account &ndash; {loginLink}.', array('{loginLink}' => TbHtml::link(Helper::t('views', 'Log In'), array('/account/authenticate/login'))));
?>
    </p>

    <fieldset>
        <?php 
echo $form->textFieldControlGroup($model, 'email', array('label' => false, 'placeholder' => $model->getAttributeLabel('email'), 'block' => true));
?>
        <?php 
echo $form->textFieldControlGroup($model, 'username', array('label' => false, 'placeholder' => $model->getAttributeLabel('username'), 'block' => true));
?>
        <?php 
echo $form->passwordFieldControlGroup($model, 'password', array('label' => false, 'placeholder' => $model->getAttributeLabel('password'), 'block' => true));
?>
        <?php 
echo $form->passwordFieldControlGroup($model, 'verifyPassword', array('label' => false, 'placeholder' => $model->getAttributeLabel('verifyPassword'), 'block' => true));
开发者ID:nordsoftware,项目名称:yii-account,代码行数:31,代码来源:index.php

示例10: array

    <link rel="shortcut icon" href="<?php 
echo Yii::app()->createAbsoluteUrl('images/favicon.ico');
?>
">    
    <title><?php 
echo Yii::t('main', 'Admin console');
?>
</title>

    <?php 
//include (dirname(__FILE__)."/scripts.php");
Yii::app()->clientScript->registerCSSFile(Yii::app()->createAbsoluteUrl('/') . '/css/main.css');
Yii::app()->bootstrap->registerCoreCss();
Yii::app()->bootstrap->registerAllScripts();
?>
    <link rel="stylesheet" media="screen" href="css/main.css" >
</head>
<body>
    <div id="top">
        <?php 
echo '<div style="margin-left: 355px;">';
$this->widget('bootstrap.widgets.TbHeroUnit', array('heading' => 'Atmosphera', 'content' => Yii::t('main', 'Admin console') . TbHtml::link('Logout', Yii::app()->createAbsoluteUrl('user/logout'), array('color' => TbHtml::BUTTON_COLOR_INVERSE, 'class' => 'btn fl-r')), 'htmlOptions' => array('style' => 'width:1080px;')));
echo '</div>';
?>
    </div>
    <div id="content" class="clearfix">
        <?php 
echo $content;
?>
    </div>
</html>
开发者ID:andreyantonov78,项目名称:atmosphera,代码行数:31,代码来源:error.php

示例11: array

                    max-height: 100%;
                }
                .modal-footer{
                    padding: 2px 15px;
                }
               </style>
                
                <?php 
}
?>
		</div>
	

        <div class="form-actions">
<?php 
echo TbHtml::link(' Regresar', array('index'), array('class' => ' btn fa-arrow-left '));
?>
        <?php 
echo TbHtml::submitButton($model->isNewRecord ? ' Registrar' : ' Guardar', array('size' => TbHtml::BUTTON_SIZE_LARGE, 'class' => 'btn btn-check  btn-primary fa fa-check'));
?>
    </div>



    <?php 
$this->endWidget();
?>
            <?php 
$this->widget('bootstrap.widgets.TbModal', array('id' => 'ModalPuntoVenta', 'header' => 'Punto de Venta', 'content' => $this->renderPartial('_form_pv', array('model' => $puntosventa), true), 'footer' => array(), 'htmlOptions' => array('style' => 'width: 700px;margin-left: -400px;')));
?>
<!--<button class="btn btn-primary">ok</button>-->
开发者ID:cicb,项目名称:tpc,代码行数:31,代码来源:form.php

示例12: array

<?php

/**
 * @var $this AccountUserController
 * @var $accountChangePassword AccountChangePassword
 *
 * @author Brett O'Donnell <cornernote@gmail.com>
 * @author Zain Ul abidin <zainengineer@gmail.com>
 * @copyright 2013 Mr PHP
 * @link https://github.com/cornernote/yii-account-module
 * @license BSD-3-Clause https://raw.github.com/cornernote/yii-account-module/master/LICENSE
 *
 * @package yii-account-module
 */
$this->pageTitle = Yii::t('account', 'Change Password');
/** @var AccountActiveForm $form */
$form = $this->beginWidget('account.components.AccountActiveForm', array('id' => 'accountChangePassword-form'));
echo $form->errorSummary($accountChangePassword);
echo $form->passwordFieldControlGroup($accountChangePassword, 'current_password');
echo $form->passwordFieldControlGroup($accountChangePassword, 'new_password');
echo $form->passwordFieldControlGroup($accountChangePassword, 'confirm_password');
echo CHtml::tag('div', array('class' => 'form-actions'), implode(' ', array(TbHtml::submitButton(Yii::t('account', 'Save'), array('color' => TbHtml::BUTTON_COLOR_PRIMARY)), TbHtml::link(Yii::t('account', 'Back'), array('account/index'), array('class' => 'btn')))));
$this->endWidget();
开发者ID:cornernote,项目名称:yii-account-module,代码行数:23,代码来源:change_password.php

示例13: array

    <h1><?php 
echo CHtml::encode(Yii::app()->name);
?>
</h1>

    <p class="lead">This is the test application used for running automated tests on the yii-account project.</p>

    <ul class="list-unstyled">
        <?php 
if (Yii::app()->user->isGuest) {
    ?>
            <li><?php 
    echo TbHtml::link('Register', array('/account/register'));
    ?>
</li>
            <li><?php 
    echo TbHtml::link('Login', array('/account/authenticate/login'));
    ?>
</li>
        <?php 
} else {
    ?>
            <li><?php 
    echo TbHtml::link('Logout', array('/account/authenticate/logout'), array('id' => 'logoutLink'));
    ?>
</li>
        <?php 
}
?>
    </ul>
</div>
开发者ID:azamath,项目名称:yii-account,代码行数:31,代码来源:index.php

示例14: array

        <?php 
/** @var AccountModule $account */
$account = Yii::app()->getModule('account');
$attributes = array();
if ($account->firstNameField) {
    $attributes[] = $account->firstNameField;
}
if ($account->lastNameField) {
    $attributes[] = $account->lastNameField;
}
$attributes[] = $account->emailField;
if ($account->usernameField) {
    $attributes[] = $account->usernameField;
}
$this->widget('bootstrap.widgets.TbDetailView', array('data' => $accountUser, 'attributes' => $attributes, 'htmlOptions' => array('class' => 'table table-condensed')));
echo CHtml::tag('div', array('class' => 'form-actions'), implode(' ', array(TbHtml::link(Yii::t('account', 'Update Account'), array('account/update'), array('class' => 'btn btn-primary')), TbHtml::link(Yii::t('account', 'Change Password'), array('account/password'), array('class' => 'btn')), TbHtml::link(Yii::t('account', 'Logout'), array('account/logout'), array('class' => 'btn')))));
?>
    </div>
    <div class="span6">
        <h3><?php 
echo Yii::t('account', 'Link your account to any of the following services:');
?>
</h3>

        <div class="well">
            <?php 
$this->widget('account.widgets.AccountHybridAuthWidget', array('baseUrl' => '/account/accountUser/hybridAuth'));
?>
        </div>
    </div>
</div>
开发者ID:cornernote,项目名称:yii-account-module,代码行数:31,代码来源:view.php

示例15: foreach

		<div id="area-zonas"> 
			<?php 
foreach ($model->zonas as $zona) {
    # Zonas de la distribucion
    $this->renderPartial('_zona', array('model' => $zona, 'editar' => false));
}
?>
			<i id="feedback-funcion" class="fa fa-3x hidden" ></i><br/><br/>
		</div>
<br />
<div class='row-fluid'>
	<?php 
echo TbHtml::link(' Regresar', array('evento/actualizar', 'id' => $model->EventoId), array('class' => 'btn fa fa-arrow-left'));
?>
	<?php 
echo TbHtml::link(' Desasignar de esta distribución', array('funciones/desasignarDistribucion', 'EventoId' => $model->EventoId, 'FuncionesId' => $model->FuncionesId), array('id' => 'btn-desasignar', 'class' => 'btn btn-danger fa fa-minus-circle'));
?>
	<?php 
//echo  TbHtml::ajaxButton(
//' Asignar esta distribución a todas las funciones',
//$this->createUrl('distribuciones/asignarATodas'),
//array(
//'beforeSend'=>'function(){return  confirm("¿Confirma asignar esta distribución a todas las demas funciones?\nEsto implica perder cualquier distribución previamente asignada a las demas funciones"); }',
//'success'=>'function(resp){alert(resp);}',
//'type'=>'POST',
//'data'=>array(
//'ForoId'=>$model->ForoId,
//'ForoMapIntId'=>$model->ForoMapIntId,
//'EventoId'=>$model->EventoId,
//'FuncionesId'=>$model->FuncionesId,
//),
开发者ID:cicb,项目名称:tpc,代码行数:31,代码来源:asignar.php


注:本文中的TbHtml::link方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。