1 | <?php |
||
18 | abstract class AdminPageFrameworkLoader_AdminPage_Tab_ReadMeBase extends AdminPageFrameworkLoader_AdminPage_Tab_Base { |
||
2 ignored issues
–
show
|
|||
19 | |||
20 | /** |
||
21 | * |
||
22 | * @since 3.5.3 |
||
23 | */ |
||
24 | protected function _getReadmeContents( $sFilePath, $sTOCTitle, $asSections=array() ) { |
||
52 | |||
53 | /** |
||
54 | * @return string |
||
55 | * @return 3.6.1 |
||
56 | */ |
||
57 | public function _replyToProcessShortcodes( $sContent ) { |
||
64 | |||
65 | /** |
||
66 | * @since 3.6.1 |
||
67 | * @return string The generate HTML output. |
||
68 | */ |
||
69 | public function _replyToProcessShortcode_embed( $aAttributes, $sURL, $sShortcode='' ) { |
||
95 | |||
96 | /** |
||
97 | * Returns HTML contents divided by heading. |
||
98 | * |
||
99 | * For example, |
||
100 | * <h3>First Heading</h3> |
||
101 | * Some text. |
||
102 | * <h3>Second Heading</h3> |
||
103 | * Another text. |
||
104 | * |
||
105 | * Will be |
||
106 | * array( |
||
107 | * array( 'First Heading' => 'Some text', ), |
||
108 | * array( 'Second Heading' => 'Another text', ), |
||
109 | * ) |
||
110 | */ |
||
111 | public function getContentsByHeader( $sContents, $iHeaderNumber=2 ) { |
||
143 | |||
144 | } |
||
1 ignored issue
–
show
|
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.