Skip to content
This repository has been archived by the owner on Jan 19, 2023. It is now read-only.

Document methods of Gdn_Controller #143

Open
charrondev opened this issue Oct 23, 2017 · 1 comment
Open

Document methods of Gdn_Controller #143

charrondev opened this issue Oct 23, 2017 · 1 comment
Assignees
Milestone

Comments

@charrondev
Copy link
Contributor

charrondev commented Oct 23, 2017

It seems to be used for injection variables into the pages javascript.

  • addBreadcrumb
  • addCssFile
  • addDefinition
  • addJsFile
  • addAsset
  • getAsset
  • addModule
  • data
  • setData
  • fetchView
  • informMessage
  • permission
  • setHeader

Additionally the most common of these should be documented in the events and handlers guide. Using setData in base_render_before is very common.

@charrondev charrondev self-assigned this Oct 23, 2017
@charrondev charrondev added this to the 2017-Q4-3 milestone Oct 23, 2017
@charrondev charrondev changed the title Document Gdn_Controller::addDefinition() Document methods of Gdn_Controller Oct 23, 2017
@linc linc modified the milestones: 2017-Q4-3, 2017-Q4-6 Dec 5, 2017
@Megalomaniak
Copy link

I guess #283 might be somewhat related?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants