Jump to content

Validator and classnames


Recommended Posts

Hi,

Trying to setup a very simple addon. Only the bare minimum that I will try to pass the validator.

The only problem seems to be the ClassName.

I have a addon, let's say is it called "company_blabla".

The validator expects

class CompanyBlabla extends Module

But that won't install at all, the class isn't even recognized!

To be able to install this, I need to call the class

class Company_Blabla extends Module

What is wrong here? (if I look at the default ps_banner module, it works like the latter. But that will never pass the validator...

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...