Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8052471
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T07:33:14+00:00 2026-06-05T07:33:14+00:00

I am using a plugin, So i have defined some functions in model of

  • 0

I am using a plugin, So i have defined some functions in model of plugin. So how to call those in main controller but not in plugin controller.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T07:33:15+00:00Added an answer on June 5, 2026 at 7:33 am

    You can use:

    public $uses = array('ModelName1', "SomeothermodelName", 'DebugKit.ToolbarAccess');
    

    This will load:

    1. “ModelName1” and “SomeothermodelName” from app/Model – thus the application itself.
    2. The “ToolbarAccess.php” from Plugin/DebugKit/Model via “DebugKit.ToolbarAccess”

    The bolded part (DebugKit.ToolbarAccess) is the so-called plugin syntax.

    Now in your controller you should be able to access the ToolbarAccess model like this (example):

    $this->ToolbarAccess->find('list');
    

    You can also try $this->loadModel(DebugKit.ToolbarAccess); from the controller.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Coda slider on one webpage (hand-crafted, not using the plugin, but
I have tried using the accordion plugin, but it does not work, and I
I am using Sphinx with the Thinking Sphinx plugin. I have indexed a model
I have been using fullcalendar plugin successfully for a few months and suddenly ran
I have started using the DataTables plugin (v1.6.2) for jQuery (v1.4.2), and I would
I have a plugin for uploading files using jquery uploadify. After calling a method
Using the mousewheel plugin, I have: $('html, body').bind(mousewheel, function(objEvent, intDelta){ if (intDelta > 0
I'm using the jQuery plugin for TinyMCE and have had a hard time trying
I'm using the Tabularize plugin in Vim and have the following text: reg [321:123]
I am using eclipse with m2e plugin and I have in my home folder

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.