no message
This commit is contained in:
parent
6cf1df95ef
commit
f19ec26c8f
@ -322,6 +322,12 @@ class SakaiController
|
||||
$s = "/book#unlike";
|
||||
$s = "likeg ss";
|
||||
$s = "id 28";
|
||||
$s = "no 8";
|
||||
$s = "thisRag 1122";
|
||||
|
||||
$s = "back";
|
||||
// $s = "";
|
||||
// $s = "no 5";
|
||||
// $s = "back";
|
||||
// $s = "firel";
|
||||
// $s = "likeg__4 s";
|
||||
|
||||
@ -871,6 +871,51 @@ class Book extends Base {
|
||||
}
|
||||
//// order 系列 end
|
||||
|
||||
//// this 系列
|
||||
public function thisDel()
|
||||
{
|
||||
$oRag = $this->_getParentRag();
|
||||
|
||||
$sParentPath = $oRag->path;
|
||||
|
||||
if ($oRag->id <= 10) {
|
||||
return "顶级rag禁止删除";
|
||||
}
|
||||
|
||||
$r = $oRag->delete();
|
||||
|
||||
$this->_cd($sParentPath);
|
||||
|
||||
return $this->openRe();
|
||||
}
|
||||
|
||||
public function thisRag($aParam)
|
||||
{
|
||||
$v = $aParam["aArg"][1];
|
||||
|
||||
$oRag = $this->_getParentRag();
|
||||
|
||||
$oRag->rag = $v;
|
||||
|
||||
$oRag->save();
|
||||
|
||||
return $this->openRe();
|
||||
}
|
||||
|
||||
public function thisRank($aParam)
|
||||
{
|
||||
$v = $aParam["aArg"][1];
|
||||
|
||||
$oRag = $this->_getParentRag();
|
||||
|
||||
$oRag->rank = $v;
|
||||
|
||||
$oRag->save();
|
||||
|
||||
return $this->openRe();
|
||||
}
|
||||
//// this 系列 end
|
||||
|
||||
//// 其他 系列
|
||||
public function id($aParam)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user