public function store($module, $name, $value)
    {
        $this->initializeOnDemand();

        if (!$this->has($module, $name)) {
            if ($this->configMapper->insert($module, $name, $value)) {
                $this->arrayConfig->add($module, $name, $value);
                return true;
            }

        } else {
            if ($this->configMapper->update($module, $name, $value)) {
                $this->arrayConfig->update($module, $name, $value);
                return true;
            }
        }

        // By default
        return false;
    }
public function store($module, $name, $value)
    {
        $this->initializeOnDemand();

        if (!$this->has($module, $name)) {
            if ($this->configMapper->insert($module, $name, $value)) {
                $this->arrayConfig->add($module, $name, $value);
                return true;
            }

        } else {
            if ($this->configMapper->update($module, $name, $value)) {
                $this->arrayConfig->update($module, $name, $value);
                return true;
            }
        }

        // By default
        return false;
    }
public function store ( $ module , $ name , $ value ) { $ this -> initializeOnDemand ( ) ; if ( ! $ this -> has ( $ module , $ name ) ) { if ( $ this -> configMapper -> insert ( $ module , $ name , $ value ) ) { $ this -> arrayConfig -> add ( $ module , $ name , $ value ) ; return true ; } } else { if ( $ this -> configMapper -> update ( $ module , $ name , $ value ) ) { $ this -> arrayConfig -> update ( $ module , $ name , $ value ) ; return true ; } } // By default return false ; }
Stores configuration's entry

@param string $module
@param string $name
@param string $value
@return boolean
Stores configuration s entry