no message
This commit is contained in:
parent
c304d9e6eb
commit
9ec17e89be
@ -37,16 +37,27 @@ class Book extends Base {
|
|||||||
$this->aOption[$v["key"]] = $v["value"];
|
$this->aOption[$v["key"]] = $v["value"];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$this->_optionIn();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private function _optionIn()
|
||||||
|
{
|
||||||
$this->oRag = $this->_getParentRag();
|
$this->oRag = $this->_getParentRag();
|
||||||
|
|
||||||
if ($this->oRag->option) {
|
if ($this->oRag->option) {
|
||||||
$this->aRagOption = json_decode($this->oRag->option, true);
|
$this->aRagOption = json_decode($this->oRag->option, true);
|
||||||
} else {
|
} else {
|
||||||
$this->aRagOption = [];
|
$this->aRagOption = [];
|
||||||
// $this->aRagOption["fire_show"] = false;
|
|
||||||
// $this->aRagOption["todo_show_type"] = 1;
|
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private function _cd($sPath = "/")
|
||||||
|
{
|
||||||
|
ModelBookHook::_cd($sPath);
|
||||||
|
$this->sPath = $sPath;
|
||||||
|
|
||||||
|
$this->optionIn();
|
||||||
}
|
}
|
||||||
|
|
||||||
private function _valid($aValid)
|
private function _valid($aValid)
|
||||||
@ -73,12 +84,6 @@ class Book extends Base {
|
|||||||
return $this->bookToStr($oBook);
|
return $this->bookToStr($oBook);
|
||||||
}
|
}
|
||||||
|
|
||||||
private function _cd($sPath = "/")
|
|
||||||
{
|
|
||||||
ModelBookHook::_cd($sPath);
|
|
||||||
$this->sPath = $sPath;
|
|
||||||
}
|
|
||||||
|
|
||||||
public function main()
|
public function main()
|
||||||
{
|
{
|
||||||
$this->_cd("/");
|
$this->_cd("/");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user