public function save($id)
    {
        if ($this->requestNotEmpty()) {
            // Set fields values and propagate it's schema with this values.
            $this->getFields()
                ->setValues($this->getRequestInput())
                ->propagateSchemaWithValues();

            // Save sanitized field values with model.
            $this->getModel()
                ->save($id, $this->getFields()->getSanitizedValues());
        }
    }
public function save($id)
    {
        if ($this->requestNotEmpty()) {
            // Set fields values and propagate it's schema with this values.
            $this->getFields()
                ->setValues($this->getRequestInput())
                ->propagateSchemaWithValues();

            // Save sanitized field values with model.
            $this->getModel()
                ->save($id, $this->getFields()->getSanitizedValues());
        }
    }
public function save ( $ id ) { if ( $ this -> requestNotEmpty ( ) ) { // Set fields values and propagate it's schema with this values. $ this -> getFields ( ) -> setValues ( $ this -> getRequestInput ( ) ) -> propagateSchemaWithValues ( ) ; // Save sanitized field values with model. $ this -> getModel ( ) -> save ( $ id , $ this -> getFields ( ) -> getSanitizedValues ( ) ) ; } }
Save singularity.

@param int $id

@return void
Save singularity .