Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Accessing a custom object with instanceof
Post: RE: Accessing a custom object with instanceof

iRedds Wrote: (01-26-2021, 06:34 PM) -- baxterheinen Wrote: (01-26-2021, 06:18 PM) -- The specific error is: Class 'LN_Account' not found -- 15 years  :D Of course you will get an error. P...
898 Views
8 Replies
01-26-2021, 06:37 PM
baxterheinen
    Thread: Accessing a custom object with instanceof
Post: RE: Accessing a custom object with instanceof

The specific error is: Class 'LN_Account' not found The model is like this: PHP Code: -- namespace App\Models; use CodeIgniter\Model; use App\Libraries\LN_Account; Class AuthenticationM...
898 Views
8 Replies
01-26-2021, 06:18 PM
baxterheinen
    Thread: Accessing a custom object with instanceof
Post: RE: Accessing a custom object with instanceof

I tried adding that to the Model with no luck. Same error.  I have been using CI3 for like 8 years so not a n00b here, and PHP for 15 years. This one has me stumped.
898 Views
8 Replies
01-26-2021, 11:35 AM
baxterheinen
    Thread: Accessing a custom object with instanceof
Post: Accessing a custom object with instanceof

I have instantiated a new object from a class in my app/libraries folder as such: PHP Code: -- // in controller use App\Libraries\LN_Account; -- PHP Code: -- // in controller method $accoun...
898 Views
8 Replies
01-25-2021, 11:36 PM
baxterheinen
    Thread: Alternate to use keyword
Post: Alternate to use keyword

I would like to use this library/tool with CI3: https://github.com/webonyx/graphql-php It is normal OOP PHP so it uses namespaces and the 'use' keyword. How do I go about converting that to Code...
1,687 Views
1 Replies
12-12-2018, 10:30 PM
baxterheinen
    Thread: Using GraphQL with CL3
Post: RE: Using GraphQL with CL3

anyone?
1,831 Views
1 Replies
12-12-2018, 08:02 PM
baxterheinen
    Thread: Using GraphQL with CL3
Post: Using GraphQL with CL3

Has anyone used GraphQL with CL3, and maybe have an example of how this works? I want to build a REACT front end, maybe there is a better way for React to talk to CL?
1,831 Views
1 Replies
12-05-2018, 04:39 PM
baxterheinen
    Thread: CodeIgniter 4 Proposed Roadmap
Post: RE: CodeIgniter 4 Proposed Roadmap

is this still happening?
227,669 Views
79 Replies
02-26-2017, 10:44 PM
baxterheinen
    Thread: .htaccess issues with CI3 inside Wordpress directory
Post: RE: .htaccess issues with CI3 inside Wordpress dir...

ignitedcms Wrote: (02-26-2017, 08:46 AM) -- Daft question but does mod rewrite work on your hosting. That would be the first thing to look at. Sadly configuring the htaccess for different environment...
13,137 Views
8 Replies
02-26-2017, 02:28 PM
baxterheinen
    Thread: .htaccess issues with CI3 inside Wordpress directory
Post: RE: .htaccess issues with CI3 inside Wordpress dir...

skunkbad Wrote: (02-26-2017, 11:38 AM) -- I usually just use a single .htaccess: Code: -- # URLs routed to CodeIgniter RewriteRule ^foo/.*$ /ci_index.php [L] RewriteRule ^bar.*$ /ci_index.php [...
13,137 Views
8 Replies
02-26-2017, 02:27 PM
baxterheinen
    Thread: .htaccess issues with CI3 inside Wordpress directory
Post: .htaccess issues with CI3 inside Wordpress directo...

I have Wordpress installed in my web root and also have a directory inside that web root with Codeigniter 3 installed.  Code: -- /www       /wp-admin       /wp-content       /wp-includes    ...
13,137 Views
8 Replies
02-26-2017, 02:48 AM
baxterheinen

Theme © iAndrew 2016 - Forum software by © MyBB