Jump to content
Fórum Script Brasil
  • 0

Array php


jeversonS
 Share

Question

bom pessoal estou com um poblema com array no php, eu preciso pegar dele um endereço de imagen que o virtue mart faz, dei um var_damp nesse array e ele me fez isso :

object(__PHP_Incomplete_Class)#30 (37) { ["__PHP_Incomplete_Class_Name"]=> string(7) "VmImage" ["media_attributes"]=> int(0) ["setRole"]=> bool(false) ["_foldersToTest":"VmMediaHandler":private]=> array(2) { [0]=> string(51) "/var/www/BaseVil/images/stories/virtuemart/product/" [1]=> string(59) "/var/www/BaseVil/images/stories/virtuemart/product/resized/" } ["_actions":"VmMediaHandler":private]=> array(0) { } ["_mLocation":"VmMediaHandler":private]=> array(0) { } ["_hidden":"VmMediaHandler":private]=> array(0) { } ["virtuemart_media_id"]=> string(2) "20" ["theme_url"]=> string(59) "http://illumeo.no-ip.org/BaseVil/components/com_virtuemart/" ["virtuemart_vendor_id"]=> string(1) "1" ["file_title"]=> string(12) "carrinho.jpg" ["file_description"]=> string(16) "carrinho de mão" ["file_meta"]=> string(0) "" ["file_mimetype"]=> string(10) "image/jpeg" ["file_type"]=> string(7) "product"

["file_url"]=> string(46) "images/stories/virtuemart/product/carrinho.jpg"

["file_url_thumb"]=> string(60) "images/stories/virtuemart/product/resized/carrinho_90x90.jpg" ["published"]=> string(1) "1" ["file_is_downloadable"]=> string(1) "0" ["file_is_forSale"]=> string(1) "0" ["file_is_product_image"]=> string(1) "0" ["shared"]=> string(1) "0" ["file_params"]=> string(0) "" ["_translatable"]=> bool(false) ["_tablePreFix"]=> string(0) "" ["created_on"]=> string(19) "2012-07-02 16:50:49" ["created_by"]=> string(2) "42" ["modified_on"]=> string(19) "2012-07-02 16:50:49" ["modified_by"]=> string(2) "42" ["locked_on"]=> string(19) "0000-00-00 00:00:00" ["locked_by"]=> string(1) "0" ["file_url_folder"]=> string(34) "images/stories/virtuemart/product/" ["file_path_folder"]=> string(34) "images/stories/virtuemart/product/" ["file_url_folder_thumb"]=> string(42) "images/stories/virtuemart/product/resized/" ["file_name"]=> string(8) "carrinho" ["file_extension"]=> string(3) "jpg" ["media_role"]=> string(19) "file_is_displayable" }

Ali onde está ["file_url"]=> string(46) "images/stories/virtuemart/product/carrinho.jpg"; Eu preciso pegar essa posicao já tem tei fazer assim com meu array MEUARAAY['file_url'] mas não deu certo tem outra maneira de fazer isso ? se tiver ficarei muito grato com a ajuda.

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share



  • Forum Statistics

    • Total Topics
      150.9k
    • Total Posts
      648.8k
×
×
  • Create New...