SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 152 | Next

James Kennard

"Mastering Joomla! 1.5 Extension and Framework Development"

"\n"
. JText::_('Thank you for installing Some Component')
."\n

";
return true;
}
return $return;
}
The uninstall file is very similar; the file can include a function called
com_uninstall(). This function is used to execute additional processing that we
may need during un-installation of our component. If anything fails during the
function, we can return Boolean false.
We can also use the uninstall file to output information. This is often used for two
different purposes: to display some message that explains something about the
component and to show the success or failure of any processing in the uninstall file.
Unlike the install file, this function is run before the XML manifest file is processed to
remove the component.
Chapter 4
[ 113 ]
Summary
Components are undoubtedly the most complex extensions, and, as a result, the hardest
to implement. Before jumping in head first, it can be a good idea to examine existing
components to see how they are constructed. The Web Links component is used as an
example because it demonstrates many of the common aspects of a component and
does so with a relatively simple and easy-to-understand data structure.


Pages:
140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164
hotel jelenia góra Russian bride Free English grammar and study guid powiekszenia wielkoformatowe counter strike 1.6