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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T16:15:24+00:00 2026-06-06T16:15:24+00:00

I am doing an e-learning application using CakePHP. The problem is that I need

  • 0

I am doing an e-learning application using CakePHP.

The problem is that I need to use the word “class” in the Controller so I can get a class link http://www.site.com/class/

Is there a way to use the word “class” or not?

I am currently using classroom (http://www.site.com/classroom) but the word itself is long.

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-06T16:15:26+00:00Added an answer on June 6, 2026 at 4:15 pm

    I wouldn’t recommend it. Check out http://www.php.net/manual/en/reserved.keywords.php

    You cannot use any of the following words as constants, class names, function or method names. Using them as variable names is generally OK, but could lead to confusion.

    Pick a different name, like ‘rooms’, or leave it as classrooms. Or use Cake’s routing.

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

Sidebar

Related Questions

I am looking at doing a small web application for learning purposes, using .NET.
I am learning C#. Doing the below exercises to make use of features. I
I'm currently learning how to write a WPF application using the MVVM pattern. I'm
We are starting to create an application using JavaScript and HTML5 which will use
I'm just started doing 'hands-on' learning of Actionscript 3 using FlashDevelop. I've now managed
I'm learning ASP.NET MVC3 and doing an application with CMS capabilities - but have
Doing some application in JSF PrimeFaces 3.1.1 (still learning) and I implemented full page
I am learning how to use nInject for a new application I am developing,
Still learning JSP Web Applications here. I have been doing this for a while
I learning Perl and doing a home made project to my family (a subscription

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.