public function extract(){
        foreach($this->item->getComposingElements() as $element){
            $this->extractImg($element);
            $this->extractObject($element);
            $this->extractStyleSheet($element);
            $this->extractCustomElement($element);
            if($this->getGetXinclude()){
                $this->extractXinclude($element);
            }
        }
        return $this->assets;
    }
public function extract(){
        foreach($this->item->getComposingElements() as $element){
            $this->extractImg($element);
            $this->extractObject($element);
            $this->extractStyleSheet($element);
            $this->extractCustomElement($element);
            if($this->getGetXinclude()){
                $this->extractXinclude($element);
            }
        }
        return $this->assets;
    }
public function extract ( ) { foreach ( $ this -> item -> getComposingElements ( ) as $ element ) { $ this -> extractImg ( $ element ) ; $ this -> extractObject ( $ element ) ; $ this -> extractStyleSheet ( $ element ) ; $ this -> extractCustomElement ( $ element ) ; if ( $ this -> getGetXinclude ( ) ) { $ this -> extractXinclude ( $ element ) ; } } return $ this -> assets ; }
Extract all assets from the current item
@return array the assets by type
Extract all assets from the current item