Just a quick question:
When searching for Controller.php :
What is the main convention for encoding property names? I always thought that properties that reference an object start with a capital letter, while basic properties that reference booleans / strings / ints start with a lowercase letter.
But in Controller.php there is:
public $request; // referencing an instance of a CakeRequest object public $View; // referencing an instance of a View
So where is the difference?
General rule regarding variable and property shell :
camelBack . , ,
.
/from:
, , , . CakePHP , CamelCase. , , request, , request. , .
request
, , , camelBacked, , , , , .., - CamelCased.
Source: https://habr.com/ru/post/1538748/More articles:Replacing Selected Numbers with NaN - performanceBinding Functions with Various Signatures - c ++How can I detect system Chinese, Korean, and English fonts without embedding one for each? (AIR for mobile on Android and IOS) - androidDebugging tests in the game - javaЗатмение с зависимостью рабочей среды maven - вложенная война содержит папку вместо jar - eclipseIs there a Python function equivalent for all functions in JavaScript or jQuery? - javascriptnull values received in servlet using request.getParameter from jsp - javaCannot get environment variables in Elixir project - elixirGroovy - XmlSlurper - reading attributes on a map - xmlGplus user authentication and getting user location in the same action - javaAll Articles