PHP Manual
PEAR Manual
Smarty Manual
PostgreSQL
MySQL Manual
Perl Manual
Ciekawe adresy
Czytnik RSS
» Microsoft: Silverlight jest lepszy od HTML 5Silverlight ciągle jest oczkiem w głowie Microsoftu. Firma nie boi się wdrożenia technologii HTML 5. Twórcy Silverlight twierdzą, że ich produkt jest po prostu lepszy.
» Inteligentne znaczki w Zjednoczonym Królestwie
Czy znaczek może być elektronicznym gadżetem? Brytyjska poczta doszła jednak do wniosku, że tak! Powitajmy e-znaczek, a w zasadzie i-znaczek.
» hITy tygodnia: koniec ATI, Priorytety w Gmail i nowe iPody
Przedstawiamy podsumowanie najważniejszych wiadomości mijającego tygodnia. W ostatnich dniach duże zainteresowanie wzbudziły m.in. informacje o nowym serwisie społecznościowym, konkurencyjnym wobec Facebooka, ukończeniu prac nad systemem Windows Phone 7 oraz artykuł obalający technologiczne mity.
» Fujitsu zwiększa aktywność w Polsce
Przedpremierowe prezentacje nowych kasetowych serwerów Fujitsu i przełączników IP/FC Brocade miały miejsce podczas pierwszej w Polsce konferencji Fujitsu C-tec.
structure of a post-install script
the post-install script class must contain two methods, one named init(), and the other named run(). the init() method is called at the same time as all other post-install scripts. the run() method is called at the conclusion of each parameter group in order to process the user's responses to queries.
the init() method
- pear_config $xml
the current configuration used for installation.
- pear_packagefile_v2 $self
the package.xml contents as abstracted by this object.
- string|null $lastinstalledversion
the last version of this package that was installed. this is a very important parameter, as it is the only way to determine whether a package is being installed from scratch, or upgraded from a previous version. using this parameter, it is possible to determine what incremental changes, if any, need to be performed.
the run() method
- array $infoarray
if $paramgroupid is _undoonerror, then $infoarray will contain a list of successfully completed parameter group sections. this can be used to restore any system changes made by the installation script.
otherwise, $infoarray contains the results of the user input from the most recent <paramgroup> section.
- string $paramgroupid
this variable either contains _undoonerror or the contents of the most recent <paramgroup>'s <id> tag. note that paramgroup id cannot begin with an underscore (_), and so _undoonerror can only be triggered by the pear installer.
Najskuteczniejsza reklama to pozycjonowanie - Pozycjonowanie stron <= zajrzyj tu i dowiedz się więcej o pozycjonowanie stron