{"id":19205497,"url":"https://github.com/zwacky/codeigniter_tab_builder","last_synced_at":"2026-02-08T17:30:56.869Z","repository":{"id":144883154,"uuid":"11195794","full_name":"zwacky/codeigniter_tab_builder","owner":"zwacky","description":"CodeIgniter library to build uniform tab elements with bootstrap styling","archived":false,"fork":false,"pushed_at":"2013-07-10T11:24:44.000Z","size":112,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-21T12:50:12.505Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zwacky.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-07-05T09:06:49.000Z","updated_at":"2013-12-04T18:45:21.000Z","dependencies_parsed_at":"2023-03-22T12:48:45.194Z","dependency_job_id":null,"html_url":"https://github.com/zwacky/codeigniter_tab_builder","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zwacky/codeigniter_tab_builder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zwacky%2Fcodeigniter_tab_builder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zwacky%2Fcodeigniter_tab_builder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zwacky%2Fcodeigniter_tab_builder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zwacky%2Fcodeigniter_tab_builder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zwacky","download_url":"https://codeload.github.com/zwacky/codeigniter_tab_builder/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zwacky%2Fcodeigniter_tab_builder/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29238254,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-08T14:18:14.570Z","status":"ssl_error","status_checked_at":"2026-02-08T14:18:14.071Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T13:13:00.526Z","updated_at":"2026-02-08T17:30:56.854Z","avatar_url":"https://github.com/zwacky.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"Codeigniter Tab Builder\n=======================\n\nCodeIgniter library to build uniform tab elements with bootstrap styling.\n\nFunctions\n=========\n\nadd_tabs($tabs)\n---------------\n* **$tabs** array adds a new tab. array must contain **id** and **name**.\n\nstart_tab()\n-----------\nstarts the wrapper for all the tab contents\n\nstart_tab_content($id, $is_active)\n----------------------------------\nstarts the content of a specific tab.\n* **$id** string refers to the tab id, that will be activated upon click.\n* **$is_active** boolean whether the tab should be shown at first\n\nend_tab_content()\n-----------------\nends the specific tab content.\n\nend_tab()\n---------\nends all tab contents all together.\n\nExample\n=======\n\n\nwithin the controller:\n\n    $this-\u003eload-\u003elibrary('tab_builder');\n    \nwithin the view:\n\n    \u003c?php\n      // could also be passed from the controller\n      $_tabs = array();\n      foreach (array(1, 2, 3) as $idx) {\n        array_push($_tabs, array('id' =\u003e \"tabContract{$idx}\", 'name' =\u003e \"Tab {$idx}\"));\n      }\n      $this-\u003etab_builder-\u003eadd_tabs($_tabs);\n    ?\u003e\n    \n    \u003c?php\n      $this-\u003etab_builder-\u003estart_tab();\n      \n      foreach (array(1, 2, 3) as $idx) {\n  \t\t  $this-\u003etab_builder-\u003estart_tab_content(\"tab{$target-\u003econtract_id}\", ($idx == 1));\n    ?\u003e\n    \n    \u003cdiv\u003e\n      tab content \u003c?php echo $idx;?\u003e\n    \u003c/div\u003e\n    \n    \u003c?php\n        $this-\u003etab_builder-\u003eend_tab_content();\n      } // end foreach\n      \n      $this-\u003etab_builder-\u003eend_tab();\n    ?\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzwacky%2Fcodeigniter_tab_builder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzwacky%2Fcodeigniter_tab_builder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzwacky%2Fcodeigniter_tab_builder/lists"}