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 7843697
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T16:37:59+00:00 2026-06-02T16:37:59+00:00

I want to take the HybridAuth library on sourceforge.net and turn it into a

  • 0

I want to take the HybridAuth library on sourceforge.net and turn it into a Yii extension. However, the library does not follow Yii standards. For example, a class named Hybrid_Auth is located in a file named Auth.php.

I really don’t want to modify the source – that way the code can be easily updated later with new releases of HybridAuth. If I try to instantiate a Hybrid_Auth object in Yii, it will look for a file called HyBrid_Auth.php, which doesn’t exist. How could I get Yii to look in the Auth.php file for the Hybrid_Auth class? Thanks.

  • 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-02T16:38:00+00:00Added an answer on June 2, 2026 at 4:38 pm

    how about put it into extension folder and create your own Factory class that will create instance of needed class?

    so it will look like

    extensions/library_folder/
    extensions/YourClass.php
    

    and something like this in class

    require_once 'library_folder/Hybrid_Auth.php';
    
    class YourClass {
        public function __construct(){
            return new HybridAuth();     
        }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to take html, including the text and images and turn it into
I want to take backup of BugTracker.Net hosted on my local and restore it
I want to take a .Net server variable and user that in the data
I want to take a string that looks like this: 'Oreo.12.37-40.Apple.78' and turn it
I want to take the text and value from selected and not selected elements
I want to take xml from internet, but everytime taking xml from net makes
I want to take a text from the standard input and store it into
I want to take the value stored in a 32 bit unsigned int, put
We want to take XML data and convert it to an NSDictionary object, but
I want to take a floating point number in C++, like 2.25125, and a

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.