Jump to content

Search the Community

Showing results for tags 'use'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to ProcessWire
    • News & Announcements
    • Showcase
    • Wishlist & Roadmap
  • Community Support
    • Getting Started
    • Tutorials
    • FAQs
    • General Support
    • API & Templates
    • Modules/Plugins
    • Themes and Profiles
    • Multi-Language Support
    • Security
    • Jobs
  • Off Topic
    • Pub
    • Dev Talk

Product Groups

  • Form Builder
  • ProFields
  • ProCache
  • ProMailer
  • Login Register Pro
  • ProDrafts
  • ListerPro
  • ProDevTools
  • Likes
  • Custom Development

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 1 result

  1. I was wondering what the best (fastest/lesses computing power) aproach in using PW API variables inside the $cache function call? (not actual code) Example 1 echo $cache->get("example-1", function($user,$page,$pages) {} Example 2 echo $cache->get("example-2", function() use($user,$page,$pages) {} Example 3 echo $cache->get("example-3", function() { $user = wire('user'); $page = wire('page'); $pages = wire('pages'); }
×
×
  • Create New...