承接 mikehaertl/xreturnable 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

mikehaertl/xreturnable

Composer 安装命令:

composer require mikehaertl/xreturnable

包简介

Yii extension to create URLs that allow to return to a page by storing its GET Parameters on a stack.

关键字:

README 文档

README

This behavior can create URLs that allow to return to a page by storing its GET Parameters on a stack.

Installation

  • Extract the release file under protected/extensions
  • Attach the beahvior in the [CController::init()] method of any controller you want to use it.

Usage

Create an URL that contains all the GET parameter of the current page:

<?php
echo CHtml::link('A link',
    $this->createReturnableUrl('user/edit',array('id'=>124))
);

If you perform an action on the page user/edit you can use this code to return to the originating page:

<?php
$this->goBack()

or create a link to the originating page in the view with:

<?php echo CHtml::link('Cancel',$this->getReturnUrl()) ?>

See the included demo for a more extensive example.

Change Log

Release 1.0.3, January 24, 2013

  • Fixed bug with URL creation from module (gerthelsen)

Release 1.0.2, November 11, 2009

  • Fixed bug with multi-dim GET parameters (thanks to Márcio for supplying a fix)
  • Name of GET stack variable is now configurable with paramName

Release 1.0.1, July 13, 2009

  • Fixed bug with url compression and path format (thanks to robak for finding this)

Release 1.0.0, June 8, 2009

  • Initial release

统计信息

  • 总下载量: 28
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 2
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2013-03-29

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固