FWS::V2::Legacy - Framework Sites version 2 compatibility and legacy methods and translations
Version 1.13091122
use FWS::V2; my $fws = FWS::V2->new(); $fws->domain('http://www.mynewdomain.com'); $fws->secureDomain('https://www.mynewdomain.com'); ...
FWS version 2 legacy methods are here for compatibility from upgrade paths of 1.3 and will not be present in the next version of FWS. Most of the methods are deprecated for the most part because they are get/set subroutines that allow you to change something that you should not change after new() is called. In a worst case scenario if you REALLY needed to change a setting you could access it via $fws->{thesetting} = 'something' instead.
This was renamed to mergeExtra().
Should NEVER be set manually, it will be set during processLogin(). Will return the current admin user logged in. If it is blank then no admin user is logged in and can be accessed via $fws->{adminLoginId};
The default value is set to 'admin', which would be accessed via yourdomain.com/admin. Should be set when calling new(adminURL=>'admin') and can be accessed via $fws->{adminURL};
Should be set when calling new(). This is only used for internal security for the first time log in, and is disabled once an admin account is created.
Is set by passing 'a' as a form value. Can be accessed via $fws->{affiliateId};
Deprecated here for backwards compatibility in code.
Should be set when calling new() and can be accessed via $fws->{cookieDomainName};
Is set when calling setSiteValues() and can be accessed via $fws->{email};
Deprecated. Internal only but was exported at one point so it is here for compatability
Deprecated. All logging is handled via $fws->FWSLog.
Should be set when calling new() and can be accessed via $fws->{domain};
Should be set when calling new() and can be accessed via $fws->{encryptionKey};
Should be set when calling new() and can be accessed via $fws->{encryptionType};
Should be set when calling new() and can be accessed via $fws->{fileDir};
Deprecated. This is set during siteSiteValues().Should be set when calling new() and can be accessed via $fws->{fileFWSPath};
Should be set when calling new() and can be accessed via $fws->{filePath};
Should be set when calling new() and can be accessed via $fws->{fileSecurePath};
Deprecated, V2 does not have built in staging control. Staging is handled by an external methodology.
Should be set when calling new() and can be accessed via $fws->{fileWebPath};
Is set with the administration and normally not accessed outside of the core. Can be accessed via $fws->{gatewayType};
Is set with the administration and normally not accessed outside of the core. Can be accessed via $fws->{gatewayUserId};
Should be set when calling new() and can be accessed via $fws->{googleAppsKeyFile};
This is depricated. To get this value you can retrieve it from the dataHash or dataArray under the pageGUID key.
Deprecated, use navigationLink() and add hrefOnly flag.
Renamed to createFWSDatabase().
Deprecated, use formatPhone()
Deprecated, all downloads are handled by the rendering element.
Deprecated, use siteValue()
Deprecated, session management was updated to improve ip checking to make this no longer required.
Deprecated, use formatDate()
Deprecated, built into the fws-2.x.css
Deprecated, use truncateContent()
Method name changed, use $fws->getPageGUID('theguid')
Renamed to setFormValues()
Single extraction of version replaced by pluginInfo()
Deprecated, no longer needed with V2 security models
Deprecated, no longer needed with V2 work flow models
Deprecated.
Depricated, use runSQL instead.
Depricated, use HTTPRequest instead.
Depricated, use saveImage instead.
Depricated, all site actions are in plugins or elements
Should be set when calling new() and can be accessed via $fws->{scriptName};
Should be set when calling new() and can be accessed via $fws->{secureDomain};
Depricated. All secure page references are done manually for performance and unique logic restrictions.
Should be set when calling new() and can be accessed via $fws->{sendmailBin};
Should be set when calling new() and can be accessed via $fws->{sendMethod};
Used to retreive the current site GUID. Can be accessed via $fws->{siteGUID};
Used to retreive the current site Id. Can be accessed via $fws->{siteId};
Used to retreive the current site GUID. Can be accessed via $fws->{siteName};
Should be set when calling new() and can be accessed via $fws->{tinyMCEEnable};
Should be set when calling new() and can be accessed via $fws->{queryHead};
Should NEVER be set manually, it will be set during processLogin(). Will return the current site user logged in. If it is blank then no site user is logged in and can be accessed via $fws->{userLoginId};
Should be set when calling new() and can be accessed via $fws->{DBHost};
Should be set when calling new() and can be accessed via $fws->{DBName};
Should be set when calling new() and can be accessed via $fws->{DBPassword};
Should be set when calling new() and can be accessed via $fws->{DBType};
Should be set when calling new() and can be accessed via $fws->{DBUser};
Should be set when calling new() and can be accessed via $fws->{FWSLogLevel};
Should be set when calling new() and can be accessed via $fws->{SQLLogLevel};
Node safe routine for XML replaced by safeXML
Node safe routine for XML replaced by safeCSV
Nate Lewis, <nlewis at gnetworks.com>
<nlewis at gnetworks.com>
Please report any bugs or feature requests to bug-fws-v2 at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=FWS-V2. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-fws-v2 at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc FWS::V2::Legacy
You can also look for information at:
RT: CPAN's request tracker (report bugs here)
http://rt.cpan.org/NoAuth/Bugs.html?Dist=FWS-V2
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/FWS-V2
CPAN Ratings
http://cpanratings.perl.org/d/FWS-V2
Search CPAN
http://search.cpan.org/dist/FWS-V2/
Copyright 2013 Nate Lewis.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install FWS::V2, copy and paste the appropriate command in to your terminal.
cpanm
cpanm FWS::V2
CPAN shell
perl -MCPAN -e shell install FWS::V2
For more information on module installation, please visit the detailed CPAN module installation guide.