TypeTime/widgets/SummaryWidget.php
public function getModule()
    {
        $method = ArrayHelper::getValue($this->parentWidget->settings, 'queryRole', 'all');
        $relationship = ArrayHelper::getValue($this->parentWidget->settings, 'relationship', false);
        if ($method === 'children') {
            return $relationship->child;
        } elseif ($method === 'parents') {
            return $relationship->parent;
        }

        return false;
    }
public function getModule()
    {
        $method = ArrayHelper::getValue($this->parentWidget->settings, 'queryRole', 'all');
        $relationship = ArrayHelper::getValue($this->parentWidget->settings, 'relationship', false);
        if ($method === 'children') {
            return $relationship->child;
        } elseif ($method === 'parents') {
            return $relationship->parent;
        }

        return false;
    }
public function getModule ( ) { $ method = ArrayHelper :: getValue ( $ this -> parentWidget -> settings , 'queryRole' , 'all' ) ; $ relationship = ArrayHelper :: getValue ( $ this -> parentWidget -> settings , 'relationship' , false ) ; if ( $ method === 'children' ) { return $ relationship -> child ; } elseif ( $ method === 'parents' ) { return $ relationship -> parent ; } return false ; }
Get module.

@return [[@doctodo return_type:getModule]] [[@doctodo return_description:getModule]]
Get module .