We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

cant access core classes

Development and Programming

bhw1's avatar
bhw1
43 posts
16 years ago
bhw1's avatar bhw1

Am I accessing this wrong? i can access test fine, but $TYPE/parse_type() is not defined in my modules scope.

function test(){
        global $TYPE;
        return $TYPE->parse_type('{exp:weblog:entries weblog="bayshore"}{zone1_en}{/exp:weblog:entries}');
}
       
bhw1's avatar
bhw1
43 posts
16 years ago
bhw1's avatar bhw1

sorry just noticed I have to define it, thought it was defined in the bootstrap.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.