{"pull_request":{"user":{"id":195277,"login":"patrickallaert","url":"https://api.github.com/users/patrickallaert","avatar_url":"https://secure.gravatar.com/avatar/c50bd189f9d942faabfed733de59e34e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"c50bd189f9d942faabfed733de59e34e"},"merged_at":null,"created_at":"2011-12-22T11:15:57Z","title":"Added: dump feature as a var_dump() replacement","state":"open","updated_at":"2011-12-22T11:15:57Z","review_comments":0,"id":622996,"patch_url":"https://github.com/ezsystems/ezp-next/pull/1.patch","deletions":7,"html_url":"https://github.com/ezsystems/ezp-next/pull/1","closed_at":null,"mergeable":null,"issue_url":"https://github.com/ezsystems/ezp-next/issues/1","base":{"user":{"id":295311,"login":"ezsystems","url":"https://api.github.com/users/ezsystems","avatar_url":"https://secure.gravatar.com/avatar/dbbdb060113a80091749fe80be36cff7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","gravatar_id":"dbbdb060113a80091749fe80be36cff7"},"ref":"master","sha":"2cd0febad90db9707815fd0d4893821a3ceaaeef","repo":{"open_issues":1,"watchers":23,"git_url":"git://github.com/ezsystems/ezp-next.git","created_at":"2011-04-26T08:54:24Z","fork":false,"updated_at":"2011-12-22T11:09:55Z","id":1663890,"language":"PHP","html_url":"https://github.com/ezsystems/ezp-next","name":"ezp-next","master_branch":null,"description":"","url":"https://api.github.com/repos/ezsystems/ezp-next","ssh_url":"git@github.com:ezsystems/ezp-next.git","forks":3,"pushed_at":"2011-12-21T20:48:49Z","clone_url":"https://github.com/ezsystems/ezp-next.git","owner":{"id":295311,"login":"ezsystems","url":"https://api.github.com/users/ezsystems","avatar_url":"https://secure.gravatar.com/avatar/dbbdb060113a80091749fe80be36cff7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","gravatar_id":"dbbdb060113a80091749fe80be36cff7"},"homepage":"","size":228,"private":false,"svn_url":"https://svn.github.com/ezsystems/ezp-next"},"label":"ezsystems:master"},"commits":1,"body":"Calling the dump() method on an ezp\\Content\\Concrete object with a depth = 2 would display something like:\r\n\r\n    object(ezp\\Content\\Concrete) {\r\n    id: '108'\r\n    currentVersionNo: 1\r\n    status: NULL\r\n    ownerId: '14'\r\n    alwaysAvailable: false\r\n    remoteId: '17e526d5a6eed6da1053f784c6fc91d9'\r\n    sectionId: 1\r\n    typeId: 1\r\n    modified: 1324552107\r\n    published: 1324552107\r\n    initialLanguageId: 2\r\n    mainLocation: NULL\r\n    section:\r\n      object(ezp\\Content\\Section\\Proxy) {\r\n      id:int(1)\r\n      }\r\n    owner:\r\n      object(ezp\\User\\Proxy) {\r\n      id:string(2) \"14\"\r\n      }\r\n    fields:\r\n      object(ezp\\Content\\Field\\StaticCollection) {\r\n      type:string(17) \"ezp\\Content\\Field\"\r\n      elements array(5):\r\n        [name] =>\r\n          ...\r\n        [short_description] =>\r\n          ...\r\n        [short_name] =>\r\n          ...\r\n        [description] =>\r\n          ...\r\n        [show_children] =>\r\n          ...\r\n      }\r\n    contentType:\r\n      object(ezp\\Content\\Type\\Proxy) {\r\n      id:int(1)\r\n      }\r\n    versions:\r\n      object(ezp\\Content\\Version\\LazyCollection) {\r\n      type:string(19) \"ezp\\Content\\Version\"\r\n      elements array(1):\r\n        [1] =>\r\n          ...\r\n      }\r\n    locations:\r\n      object(ezp\\Base\\Collection\\Type) {\r\n      type:string(20) \"ezp\\Content\\Location\"\r\n      elements array(0):\r\n      }\r\n    relations:\r\n      object(ezp\\Base\\Collection\\Type) {\r\n      type:string(20) \"ezp\\Content\\Relation\"\r\n      elements array(0):\r\n      }\r\n    reverseRelations:\r\n      object(ezp\\Base\\Collection\\Type) {\r\n      type:string(20) \"ezp\\Content\\Relation\"\r\n      elements array(0):\r\n      }\r\n    currentVersion:\r\n      object(ezp\\Content\\Version\\Concrete) {\r\n      id: '609'\r\n      name: NULL\r\n      versionNo: 1\r\n      creatorId: '14'\r\n      created: 1324552107\r\n      modified: 1324552107\r\n      status: 0\r\n      contentId: '108'\r\n      initialLanguageId: 2\r\n      fields:\r\n        ...\r\n      content:\r\n        ...\r\n      ownerId: '14'\r\n      alwaysAvailable: false\r\n      remoteId: '17e526d5a6eed6da1053f784c6fc91d9'\r\n      sectionId: 1\r\n      typeId: 1\r\n      contentStatus: NULL\r\n      mainLocation: NULL\r\n      section:\r\n        ...\r\n      owner:\r\n        ...\r\n      contentType:\r\n        ...\r\n      locations:\r\n        ...\r\n      relations:\r\n        ...\r\n      reverseRelations:\r\n        ...\r\n      initialLanguage: NULL\r\n      }\r\n    initialLanguage: NULL\r\n    }\r\n","number":1,"additions":254,"diff_url":"https://github.com/ezsystems/ezp-next/pull/1.diff","url":"https://api.github.com/repos/ezsystems/ezp-next/pulls/1","_links":{"review_comments":{"href":"https://api.github.com/repos/ezsystems/ezp-next/pulls/1/comments"},"html":{"href":"https://github.com/ezsystems/ezp-next/pull/1"},"self":{"href":"https://api.github.com/repos/ezsystems/ezp-next/pulls/1"},"comments":{"href":"https://api.github.com/repos/ezsystems/ezp-next/issues/1/comments"}},"merged_by":null,"comments":0,"head":{"user":{"id":195277,"login":"patrickallaert","url":"https://api.github.com/users/patrickallaert","avatar_url":"https://secure.gravatar.com/avatar/c50bd189f9d942faabfed733de59e34e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"c50bd189f9d942faabfed733de59e34e"},"ref":"Dumpable","sha":"0717292bc0efc41ca3250a97b4c4911b48a9fa86","repo":{"open_issues":0,"watchers":1,"git_url":"git://github.com/patrickallaert/ezp-next.git","created_at":"2011-12-22T11:09:55Z","fork":true,"updated_at":"2011-12-22T11:11:58Z","id":3033365,"language":"PHP","html_url":"https://github.com/patrickallaert/ezp-next","name":"ezp-next","master_branch":null,"description":"","url":"https://api.github.com/repos/patrickallaert/ezp-next","ssh_url":"git@github.com:patrickallaert/ezp-next.git","forks":0,"pushed_at":"2011-12-22T11:11:56Z","clone_url":"https://github.com/patrickallaert/ezp-next.git","owner":{"id":195277,"login":"patrickallaert","url":"https://api.github.com/users/patrickallaert","avatar_url":"https://secure.gravatar.com/avatar/c50bd189f9d942faabfed733de59e34e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"c50bd189f9d942faabfed733de59e34e"},"homepage":"","size":112,"private":false,"svn_url":"https://svn.github.com/patrickallaert/ezp-next"},"label":"patrickallaert:Dumpable"},"changed_files":5,"merged":false},"number":1,"action":"opened"}