Attached patch is mostly docs updates and tweaks and comments/questions from me marked either @todo or // TODO. It also moves the static caching from views_get_view() to views::load(), which is now a static factory method.

More thoughts to come later, although clarification on the questions posed so far would be appreciated, too. :-)

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Crell’s picture

FileSize
10.36 KB

Rerolling with some revised comments and without the stupid merge code in there. :-)

Crell’s picture

FileSize
10.88 KB

Take 3

Crell’s picture

And here we are again, this time with support for default views, in 2 possible file locations!

Crell’s picture

Title: Views 2: Code tweaks and docs » Views 2: Code tweaks, docs, and default-views support.

Updating title

Crell’s picture

Title: Views 2: Code tweaks, docs, and default-views support. » Views 2: Code tweaks, docs, and default-views support
FileSize
17.58 KB

Once more with feeling! And with custom cache wrappers.

Crell’s picture

Status: Needs review » Fixed

Merlin said he committed this, so closing.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.