protected function parseDescription($descriptionLine)
    {
        if (strpos($descriptionLine, '*') <= 2) {
            $descriptionLine = substr($descriptionLine, (strpos($descriptionLine, '*') + 1));
        }

        //geen lege comment regel indien al in grote omschrijving
        if (trim(str_replace(array("\n", "\r"), array('', ''), $descriptionLine)) == '') {
            if ($this->obj->fullDescription == '') {
                $descriptionLine = '';
            }
            $this->smallDescriptionDone = true;
        }

        if (!$this->smallDescriptionDone) {
            //add to small description
            $this->obj->smallDescription .= $descriptionLine;
        } else {
            //add to full description
            $this->obj->fullDescription .= $descriptionLine;
        }
    }
protected function parseDescription($descriptionLine)
    {
        if (strpos($descriptionLine, '*') <= 2) {
            $descriptionLine = substr($descriptionLine, (strpos($descriptionLine, '*') + 1));
        }

        //geen lege comment regel indien al in grote omschrijving
        if (trim(str_replace(array("\n", "\r"), array('', ''), $descriptionLine)) == '') {
            if ($this->obj->fullDescription == '') {
                $descriptionLine = '';
            }
            $this->smallDescriptionDone = true;
        }

        if (!$this->smallDescriptionDone) {
            //add to small description
            $this->obj->smallDescription .= $descriptionLine;
        } else {
            //add to full description
            $this->obj->fullDescription .= $descriptionLine;
        }
    }
protected function parseDescription ( $ descriptionLine ) { if ( strpos ( $ descriptionLine , '*' ) <= 2 ) { $ descriptionLine = substr ( $ descriptionLine , ( strpos ( $ descriptionLine , '*' ) + 1 ) ) ; } //geen lege comment regel indien al in grote omschrijving if ( trim ( str_replace ( array ( "\n" , "\r" ) , array ( '' , '' ) , $ descriptionLine ) ) == '' ) { if ( $ this -> obj -> fullDescription == '' ) { $ descriptionLine = '' ; } $ this -> smallDescriptionDone = true ; } if ( ! $ this -> smallDescriptionDone ) { //add to small description $ this -> obj -> smallDescription .= $ descriptionLine ; } else { //add to full description $ this -> obj -> fullDescription .= $ descriptionLine ; } }
Parses the description to the small and full description properties.

@param string The description line
Parses the description to the small and full description properties .