PHP Objects, Patterns and Practice (3rd edition)
CHAPTER 15 ■ AN INTRODUCTION TO PEAR AND PYRUS Dependencies Although packages are generally stand-alone entities, they often mak ...
CHAPTER 15 ■ AN INTRODUCTION TO PEAR AND PYRUS Table 15–3. package.xml Dependency Types Element Description php The PHP applicat ...
CHAPTER 15 ■ AN INTRODUCTION TO PEAR AND PYRUS The installconditions element can be used to determine the phprelease ele ...
CHAPTER 15 ■ AN INTRODUCTION TO PEAR AND PYRUS For this section, I will focus on the Pyrus mechanism for creating and hosting ch ...
CHAPTER 15 ■ AN INTRODUCTION TO PEAR AND PYRUS channel.xml, which defines your channel. It also creates empty get/ and rest/ dir ...
CHAPTER 15 ■ AN INTRODUCTION TO PEAR AND PYRUS There’s enough in place now to for me to run a browser test. Figure 15.1 shows th ...
CHAPTER 15 ■ AN INTRODUCTION TO PEAR AND PYRUS and regenerate the PEAR package Analyzing Dialekt/AliG.php Analyzing Dialekt/Dale ...
CHAPTER 15 ■ AN INTRODUCTION TO PEAR AND PYRUS Figure 15–2. A Channel Package Page Summary PEAR is extensive almost by definitio ...
C H A P T E R 16 ■ ■ ■ Generating Documentation with phpDocumentor Remember that tricky bit of code? The one in which you treate ...
CHAPTER 16 ■ GENERATING DOCUMENTATION WITH PHPDOCUMENTOR otherwise have been a few weeks of acclimatization soon becomes months. ...
CHAPTER 16 ■ GENERATING DOCUMENTATION WITH PHPDOCUMENTOR Generating Documentation It might seem odd to generate documentation be ...
CHAPTER 16 ■ GENERATING DOCUMENTATION WITH PHPDOCUMENTOR As you can see, all the classes and files in the project are listed in ...
CHAPTER 16 ■ GENERATING DOCUMENTATION WITH PHPDOCUMENTOR property). It also includes special keywords called tags. Tags are defi ...
CHAPTER 16 ■ GENERATING DOCUMENTATION WITH PHPDOCUMENTOR Documenting Classes Let’s add some more tags and text that are useful i ...
CHAPTER 16 ■ GENERATING DOCUMENTATION WITH PHPDOCUMENTOR Notice that I didn’t need to tell phpDocumentor that the Command class ...
CHAPTER 16 ■ GENERATING DOCUMENTATION WITH PHPDOCUMENTOR Encapsulated Keys/values. This class is essentially a wrapper for this ...
CHAPTER 16 ■ GENERATING DOCUMENTATION WITH PHPDOCUMENTOR Figure 16–5. Documenting properties Documenting Methods Together with c ...
CHAPTER 16 ■ GENERATING DOCUMENTATION WITH PHPDOCUMENTOR abstract function execute( CommandContext $context ); It may seem stran ...
CHAPTER 16 ■ GENERATING DOCUMENTATION WITH PHPDOCUMENTOR So in the following DocBlock comment, I document the CommandContext obj ...
CHAPTER 16 ■ GENERATING DOCUMENTATION WITH PHPDOCUMENTOR Notice, though, that we also embedded a reference to Command::execute() ...
«
14
15
16
17
18
19
20
21
22
23
»
Free download pdf