Các Eclipse tải SDK bình thường bao gồm trợ giúp các chủ đề về môi trường Eclipse và JDT. Plug-in phát triển thêm chủ đề cho các plug-in riêng của họ. Người dùng có thể duyệt qua các chủ đề, tìm kiếm thông qua một chủ đề, hoặc tìm kiếm thông qua tất cả các chủ đề có thời hạn. | Writing PHP Code with Eclipse The normal Eclipse SDK download includes help topics on the Eclipse environment and JDT. Plug-in developers add topics for their own plug-ins. Users can browse the topics search through a topic or search through all topics for a term. PHPEclipse contributes to the help system by adding documentation for HTML Tidy QuantumDB and the official PHP documentation http manual en . PHPEclipse extends the Eclipse help files by integrating the PHP documentation into the editor. Suppose you want to look up what the floo r function does. In the editor highlight the entire function. Right-click on the highlighted function and select PHP Help from the contextual menu. This will launch the Eclipse help system and open up the function s definition from the official PHP documentation. 80 Chapter 4 The whole PHP reference guide is available to you wherever you go because the help system files are stored locally on the machine where PHPEclipse is installed. An internet connection is not required. This is especially helpful to laptop users. Writing the Cat Class We ll now write the class that will represent an individual cat. Open up clscat .php and type in the following code block php requi re_once class Cat extends Pet private catlD private name private gender private age private breed public function setCatlD catlD this- catlD catlD public function getCatlD return this- catlD public function setName name this- name name public function getName return this- name public function setGender gender this- gender gender public function getGender return this- gender 81 Writing PHP Code with Eclipse public function setAge age this- age age public function getAge return this- age public function setBreed breed this- breed breed public function getBreed return this- breed public function_construct There are a couple of things to try as you type this. First is the ability of Eclipse to open any project files referenced in code. The cat .