src/Easy/EasyForm.php
protected function inheritParentObj()
    {
        if (!$this->inheritFrom)
            return;
        $parentObj = Openbizx::getObject($this->inheritFrom);

        $this->title = $this->title ? $this->title : $parentObj->title;
        $this->icon = $this->icon ? $this->icon : $parentObj->icon;
        $this->objectDescription = $this->objectDescription ? $this->objectDescription : $parentObj->objectDescription;
        $this->jsClass = $this->jsClass ? $this->jsClass : $parentObj->jsClass;
        $this->height = $this->height ? $this->height : $parentObj->height;
        $this->width = $this->width ? $this->width : $parentObj->width;
        $this->defaultForm = $this->defaultForm ? $this->defaultForm : $parentObj->defaultForm;
        $this->templateEngine = $this->templateEngine ? $this->templateEngine : $parentObj->templateEngine;
        $this->templateFile = $this->templateFile ? $this->templateFile : $parentObj->templateFile;
        $this->formType = $this->formType ? $this->formType : $parentObj->formType;
        $this->range = $this->range ? $this->range : $parentObj->range;
        $this->fixSearchRule = $this->fixSearchRule ? $this->fixSearchRule : $parentObj->fixSearchRule;
        $this->defaultFixSearchRule = $this->defaultFixSearchRule ? $this->defaultFixSearchRule : $parentObj->defaultFixSearchRule;
        $this->dataObjName = $this->dataObjName ? $this->dataObjName : $parentObj->dataObjName;
        $this->directMethodList = $this->directMethodList ? $this->directMethodList : $parentObj->directMethodList;
        $this->eventName = $this->eventName ? $this->eventName : $parentObj->eventName;
        $this->messageFile = $this->messageFile ? $this->messageFile : $parentObj->messageFile;
        $this->objectMessages = MessageHelper::loadMessage($this->messageFile, $this->package);
        $this->cacheLifeTime = $this->cacheLifeTime ? $this->cacheLifeTime : $parentObj->cacheLifeTime;
        $this->currentPage = $this->currentPage ? $this->currentPage : $parentObj->currentPage;
        $this->startItem = $this->startItem ? $this->startItem : $parentObj->startItem;

        $this->dataPanel->merge($parentObj->dataPanel);
        $this->actionPanel->merge($parentObj->actionPanel);
        $this->navPanel->merge($parentObj->navPanel);
        $this->searchPanel->merge($parentObj->searchPanel);

        if ($this->dataPanel->current()) {
            foreach ($this->dataPanel as $elem)
                $elem->adjustFormName($this->objectName);
        }
        if ($this->actionPanel->current()) {
            foreach ($this->actionPanel as $elem)
                $elem->adjustFormName($this->objectName);
        }
        if ($this->navPanel->current()) {
            foreach ($this->navPanel as $elem)
                $elem->adjustFormName($this->objectName);
        }
        if ($this->searchPanel->current()) {
            foreach ($this->searchPanel as $elem)
                $elem->adjustFormName($this->objectName);
        }
        $this->panels = array($this->dataPanel, $this->actionPanel, $this->navPanel, $this->searchPanel);
    }
protected function inheritParentObj()
    {
        if (!$this->inheritFrom)
            return;
        $parentObj = Openbizx::getObject($this->inheritFrom);

        $this->title = $this->title ? $this->title : $parentObj->title;
        $this->icon = $this->icon ? $this->icon : $parentObj->icon;
        $this->objectDescription = $this->objectDescription ? $this->objectDescription : $parentObj->objectDescription;
        $this->jsClass = $this->jsClass ? $this->jsClass : $parentObj->jsClass;
        $this->height = $this->height ? $this->height : $parentObj->height;
        $this->width = $this->width ? $this->width : $parentObj->width;
        $this->defaultForm = $this->defaultForm ? $this->defaultForm : $parentObj->defaultForm;
        $this->templateEngine = $this->templateEngine ? $this->templateEngine : $parentObj->templateEngine;
        $this->templateFile = $this->templateFile ? $this->templateFile : $parentObj->templateFile;
        $this->formType = $this->formType ? $this->formType : $parentObj->formType;
        $this->range = $this->range ? $this->range : $parentObj->range;
        $this->fixSearchRule = $this->fixSearchRule ? $this->fixSearchRule : $parentObj->fixSearchRule;
        $this->defaultFixSearchRule = $this->defaultFixSearchRule ? $this->defaultFixSearchRule : $parentObj->defaultFixSearchRule;
        $this->dataObjName = $this->dataObjName ? $this->dataObjName : $parentObj->dataObjName;
        $this->directMethodList = $this->directMethodList ? $this->directMethodList : $parentObj->directMethodList;
        $this->eventName = $this->eventName ? $this->eventName : $parentObj->eventName;
        $this->messageFile = $this->messageFile ? $this->messageFile : $parentObj->messageFile;
        $this->objectMessages = MessageHelper::loadMessage($this->messageFile, $this->package);
        $this->cacheLifeTime = $this->cacheLifeTime ? $this->cacheLifeTime : $parentObj->cacheLifeTime;
        $this->currentPage = $this->currentPage ? $this->currentPage : $parentObj->currentPage;
        $this->startItem = $this->startItem ? $this->startItem : $parentObj->startItem;

        $this->dataPanel->merge($parentObj->dataPanel);
        $this->actionPanel->merge($parentObj->actionPanel);
        $this->navPanel->merge($parentObj->navPanel);
        $this->searchPanel->merge($parentObj->searchPanel);

        if ($this->dataPanel->current()) {
            foreach ($this->dataPanel as $elem)
                $elem->adjustFormName($this->objectName);
        }
        if ($this->actionPanel->current()) {
            foreach ($this->actionPanel as $elem)
                $elem->adjustFormName($this->objectName);
        }
        if ($this->navPanel->current()) {
            foreach ($this->navPanel as $elem)
                $elem->adjustFormName($this->objectName);
        }
        if ($this->searchPanel->current()) {
            foreach ($this->searchPanel as $elem)
                $elem->adjustFormName($this->objectName);
        }
        $this->panels = array($this->dataPanel, $this->actionPanel, $this->navPanel, $this->searchPanel);
    }
Inherit from parent object. Name, Package, Class cannot be inherited

@return void