public function getAllByModule($module)
    {
        if (!$this->hasModule($module)) {
            return false;
        } else {
            $result = array();

            foreach ($this->data as $index => $row) {
                if (isset($row[ConstProviderInterface::CONFIG_PARAM_MODULE]) && $row[ConstProviderInterface::CONFIG_PARAM_MODULE] == $module) {
                    $name = $row[ConstProviderInterface::CONFIG_PARAM_NAME];
                    $value = $row[ConstProviderInterface::CONFIG_PARAM_VALUE];

                    $result[$name] = $value;
                }
            }

            return $result;
        }
    }
public function getAllByModule($module)
    {
        if (!$this->hasModule($module)) {
            return false;
        } else {
            $result = array();

            foreach ($this->data as $index => $row) {
                if (isset($row[ConstProviderInterface::CONFIG_PARAM_MODULE]) && $row[ConstProviderInterface::CONFIG_PARAM_MODULE] == $module) {
                    $name = $row[ConstProviderInterface::CONFIG_PARAM_NAME];
                    $value = $row[ConstProviderInterface::CONFIG_PARAM_VALUE];

                    $result[$name] = $value;
                }
            }

            return $result;
        }
    }
public function getAllByModule ( $ module ) { if ( ! $ this -> hasModule ( $ module ) ) { return false ; } else { $ result = array ( ) ; foreach ( $ this -> data as $ index => $ row ) { if ( isset ( $ row [ ConstProviderInterface :: CONFIG_PARAM_MODULE ] ) && $ row [ ConstProviderInterface :: CONFIG_PARAM_MODULE ] == $ module ) { $ name = $ row [ ConstProviderInterface :: CONFIG_PARAM_NAME ] ; $ value = $ row [ ConstProviderInterface :: CONFIG_PARAM_VALUE ] ; $ result [ $ name ] = $ value ; } } return $ result ; } }
Returns all data by associated module

@param string $module
@return array|boolean
Returns all data by associated module