protected function setFieldValue($field_value_id)
    {
        $this->data_field_value = array();

        if (is_numeric($field_value_id)) {

            $conditions = array(
                'language' => 'und',
                'field_value_id' => $field_value_id
            );

            $this->data_field_value = $this->field_value->get($conditions);

            if (empty($this->data_field_value)) {
                $this->outputHttpStatus(404);
            }

            $this->prepareFieldValue($this->data_field_value);
        }
    }
protected function setFieldValue($field_value_id)
    {
        $this->data_field_value = array();

        if (is_numeric($field_value_id)) {

            $conditions = array(
                'language' => 'und',
                'field_value_id' => $field_value_id
            );

            $this->data_field_value = $this->field_value->get($conditions);

            if (empty($this->data_field_value)) {
                $this->outputHttpStatus(404);
            }

            $this->prepareFieldValue($this->data_field_value);
        }
    }
protected function setFieldValue ( $ field_value_id ) { $ this -> data_field_value = array ( ) ; if ( is_numeric ( $ field_value_id ) ) { $ conditions = array ( 'language' => 'und' , 'field_value_id' => $ field_value_id ) ; $ this -> data_field_value = $ this -> field_value -> get ( $ conditions ) ; if ( empty ( $ this -> data_field_value ) ) { $ this -> outputHttpStatus ( 404 ) ; } $ this -> prepareFieldValue ( $ this -> data_field_value ) ; } }
Set a field value data
@param integer $field_value_id
Set a field value data