In this chapter, we will consider how our built environment has developed—how we have traveled, in effect, from Greek temples and Anasazi cliff dwellings to skyscrapers and postmodernist designs. We will see that the “look” of our buildings and our communities depends on two different factors and their interrelation—environment, or the distinct landscape characteristics of the local site, including its climatic features, and technology, the materials and methods available to a given culture.
The built environment reflects the natural world and the conception of the people who inhabit it of their place within the natural scheme of things. A building’s form might echo the world around it, or it might contrast with it. It also might respond to the climate of the place. In each case, the choices builders make reveal their attitudes toward the world around them. The architecture of the vast majority of early civilizations was designed to imitate natural forms. The significance of the pyramids of Egypt (Fig. 15-4) is the subject of much debate, but their form may well derive from the image of the god Re, who in ancient Egypt was symbolized by the rays of the sun descending to earth.
Show More...
The Anasazi cliff dwelling known as Spruce Tree House (Fig. 1) at Mesa Verde National Park in southwestern Colorado reflects a similar relation between humans and their environment. The Anasazi lived in these cliffside caves for hundreds, perhaps thousands, of years. The cave not only provided security, but also brought the people living there closer to their origin and, therefore, to the source of their strength. For unknown reasons, the Anasazi abandoned their cliff dwellings in about 1300 ce. One possible cause was a severe drought that lasted from 1276 to 1299. It is also possible that disease, a shortened growing season, or war with Apache and Shoshone tribes caused the Anasazi to leave the highland mesas and migrate south into Arizona and New Mexico.
At the heart of the Anasazi culture was the kiva, a round, covered hole in the center of the communal plaza in which all ceremonial life took place. The roofs of two underground kivas on the north end of the ruin have been restored. They are constructed of horizontally laid logs built up to form a dome with an access hole. The people utilized these roofs as a common area. Down below, in the enclosed kiva floor, was a sipapu, a small, round hole symbolic of the Anasazi creation myth, which told of the emergence of the Anasazi’s ancestors from the depths of the earth. In the parched Southwestern desert country it is equally true that water, like life itself, also seeps out of small fissures in the earth. Thus, it is as if the entire Anasazi community, and everything necessary to its survival, emerges from mother earth.
The structure of the kiva’s roof represents a technological innovation of the Anasazi culture. Thus, while it responds directly to the environment of the place, it also reflects the technology available to the builder. The basic technological challenge faced by architecture is to construct upright walls and put a roof over the empty space they enclose. Walls may employ one of two basic structural systems: the shell system, in which one basic material provides both the structural support and the outside covering of the building, and the skeleton-and-skin system, which consists of a b asic interior frame, the skeleton, that supports the more fragile outer covering, the skin.
Show More...
The values of the Greek city-state were embodied in its temples. The temple was usually situated on an elevated site above the city—an acropolis, from akros, meaning “top,” of the polis, “city”—and was conceived as the center of civic life. Its colonnade, a row of columns set at regular intervals around the building and supporting the base of the roof, was constructed according to the rules of geometry and embodied c ultural values of equality and proportion.
In ancient times, the heavier Doric order was considered masculine, and the more graceful Ionic order feminine. It is true that the Ionic order is slimmer and much lighter in feeling than the Doric.
Show More...
Gothic Cathedral was a style developed in the 12th-century. Their origin was in France and they last until the 16th century. Theses cathedral’s characteristics were known for pointed arch, the ribbed vault, and the flying buttress. Churches, castles, and palaces were some of the places where this style was applied.
Cathedrals were made for many purpose. The price, time, and size were extraordinary high. Some of these cathedrals were built as a symbol to show how powerful and institution was. The church showed them as a divine place. The cathedrals were designed so a lot of light was able to enter through its big size windows, giving a sense of stateliness, and beauty.
The barrel vault at St. Sernin, in Toulouse, France is a magnificent example of Romanesque architecture. The plan of this church is one of great symmetry and geometric simplicity; It reflects the Romanesque preference for rational order and logical development. Every measurement is based on the central square at the crossing, where the two transepts, or side wings, cross the length of the nave, the central aisle of the church used by the congregation, and the apse, the semicircular projection at the end of the church that is topped by a Roman half-dome.
The great height of the Gothic cathedral’s interior space is achieved by means of a system of pointed, rather than round, arches. The height of a rounded arch is determined by its width, but the height of a pointed arch can readily be extended by straightening the curve of the sides upward to a point, the weight descending much more directly down the wall.
Show More...
Architecture is a visual art, and the buildings speak for themselves.


--- layout: work title: "Keewee" date: 2019-07-26 description: image: /assets/images/keewee.png author: Da Jun Yoo tags: - keewee ---


UFC heavyweight champ Stipe Miocic sends warning to Tyson Fury: ‘Be careful what you wish for’
by Lewis MckeeverEarlier this week, MTK Global released video footage of heavyweight boxing champion Tyson Fury training MMA with UFC welterweight Darren Till, and ‘The Gypsy King’ didn’t look half bad.
In fact, Fury’s pad work with ‘The Gorilla’ soon caught the attention of UFC president Dana White, who seemed more than impressed with the 31-year-old’s in-cage athleticism and work ethic.
It wasn’t long before the video found its way to Stipe Miocic’s Twitter feed, and the UFC heavyweight champion had quite a different reaction than Dana White.
“@Tyson_Fury be careful what you wish for...,” Miocic posted on Saturday.
Fury, who holds multiple world titles in boxing, recently made the transition to the world of professional wrestling, where he beat Braun Strowman at WWE’s Crown Jewel event in Saudi Arabia, earning a reported figure of £11.9 million for his performance.
Miocic, 37, reclaimed the heavyweight title at UFC 241 with a fourth-round TKO of former Olympian Daniel Cormier. The two-time heavyweight champ and part-time firefighter is expected to collide with ‘DC’ in a trilogy bout next year.


Created
some time ago
{{photo.up}}
👍
{{photo.dw}}
👎
🔗
{% for tag in photo.tags %}
{{ tag }},
{% endfor %}


A repository monitored by the Continuous Integration server has timed out while executing its unit tests.
Unit tests ran in "__repodir__".
Online details available at the wiki.
If you have any questions, please contact the owner of the repository:
Kind Regards,
CI Bot


Toggle navigation
Admin Panel
Logout
Dashboard
Slider
Courses
Syllabus
Testimonials
Blogs
Career
Artwork Gallery
Exhibition Gallery
Photography Gallery
Video Gallery
Team Members
Log Out
Edit Testimonials
Dashboard
Edit Testimonials Form
Edit your Testimonials here
Name
Course Name
Status
In-Active
Active
Short Description
Short Description...
Upload Image
Choose Image to upload
Slide Preview
Update
Copyright © 2018
| All rights reserved.
Designed, developed and maintained by
okike digital solution.


Ha Ha!!
Please enter your email address against your name to view your recipient and keep it secret !!!
| # | Santa | Recipient | Enter E-mail |
|---|---|---|---|
| {{i+1}} | {{santRecp.santa.name.first + ' ' + santRecp.santa.name.last}} | {{santRecp.recipient.name.first + ' ' + santRecp.recipient.name.last}} |
|


Must Have Gems for Development Machine in Ruby on Rails
Rubygems are best thing that happened in ruby on rails. So today here is my list of gems in development group that helps to make things faster or sometimes bring simplicity to the development process
gem "better_errors"
gem "binding_of_caller"
gem 'annotate'
gem 'bullet'
gem 'debugger'
gem 'flay'
gem 'hirb'
gem 'localtunnel'
gem 'lol_dba'
gem 'mailcatcher'
gem 'meta_request','0.2.1'
gem 'pry'
gem 'pry-doc'
gem 'quiet_assets'
gem 'rack-mini-profiler'
gem 'railroady'
gem 'rails-footnotes', '>= 3.7.5.rc4'
gem 'rails_best_practices'
gem 'reek'
gem 'request-log-analyzer'
gem 'smusher'
gem 'zeus' # don't add this in your gemfile.
What they do:
- better_errors: Better Errors replaces the standard Rails error page with a much better and more useful error page. It is also usable outside of Rails in any Rack app as Rack middleware. If you would like to use Better Errors’ advanced features (REPL, local/instance variable inspection, pretty stack frame names), you need to add the binding_of_caller
annotate Will generate a schema of the model on the top of the model. Something like this.
# == Schema Info # # Table name: line_items # # id :integer(11) not null, primary key # quantity :integer(11) not null # product_id :integer(11) not null # unit_price :float # order_id :integer(11) # class LineItem < ActiveRecord::Base belongs_to :product
bullet: The Bullet gem is designed to help you increase your application’s performance by reducing the number of queries it makes. It will watch your queries while you develop your application and notify you when you should add eager loading (N+1 queries), when you’re using eager loading that isn’t necessary and when you should use counter cache.
Best practice is to use Bullet in development mode or custom mode (staging, profile, etc.).  Differences in literal values, variable, class, method names, whitespace, programming style, braces vs do/end, etc are all ignored. Making this totally rad.
hirb:A mini view framework for console/irb that’s easy to use, even while under its influence. Console goodies include a no-wrap table, auto-pager, tree and menu. A console gem that will display your results something like this:
>> Tag.last +-----+-------------------------+-------------+---------------+-----------+-----------+-------+ | id | created_at | description | name | namespace | predicate | value | +-----+-------------------------+-------------+---------------+-----------+-----------+-------+ | 907 | 2009-03-06 21:10:41 UTC | | gem:tags=yaml | gem | tags | yaml | +-----+-------------------------+-------------+---------------+-----------+-----------+-------+ 1 row in set
Localtunnel lets you expose a local web server to the public Internet.
For example, running a web server on port 8000 on your laptop can be made public with::
$ localtunnel-beta 8000
Port 8000 is now accessible from http://8fde2c.v2.localtunnel.com ...
lol_dba: lol_dba is a small package of rake tasks that scan your application models and displays a list of columns that probably should be indexed. Also, it can generate .sql migration scripts.
mailcatcher: MailCatcher runs a super simple SMTP server which catches any message sent to it to display in a web interface. Run mailcatcher, set your favourite app to deliver to smtp://<IP_ADDRESS>:1025 instead of your default SMTP server, then check out http://<IP_ADDRESS>:1080 to see the mail that’s arrived so far.
- [meta_request] RailsPanel is a Chrome extension for Rails development that will end your tailing of development.log. Have all information about your Rails app requests in the browser - in the Developer Tools panel. Provides insight to db/rendering/total times, parameter list, rendered views and more.
pry :An IRB alternative and runtime developer console
quiet_assets: Mutes assets pipeline log messages.
rack-mini-profiler: Middleware that displays speed badge for every html page. Designed to work both in production and in development.
* railroady: RailRoady generates Rails 3 model (AcitveRecord, Mongoid, Datamapper) and controller UML diagrams as cross-platform .svg files, as well as in the DOT language.
- rails-footnotes: Every Rails page has footnotes that gives information about your application and links back to your editor
rails_best_practices: A code metric tool for rails projects
reek: Code smell detector for Ruby
request-log-analyzer A command line tool that analyzes request logfiles (e.g. Rails, Apache, MySQL, Delayed::Job) to produce a performance report
smusher: Ruby/CLI: Automatic lossless reduction of all your images. Must run for image assets.
zeus Boot any rails app in under a second.
Please let me know if you have some other cool gems. It will great to know about some cool gems.


Fake Tory manifesto websites launched in revenge for 'manipulative' tactics
The Conservative Party is being given a taste of their own medicine after launching a ‘misleading’ mock Labour manifesto website.
The Tories were accused of ‘dirty tricks’ when they unveiled Labourmanifesto.co.uk hours before Jeremy Corbyn announced his party’s election pledges in Birmingham yesterday.
They apparently paid Google advertising fees to make sure their website made it to the top of the page when people search ‘Labour’.
But the man who made conservativemanifesto.org.uk in retaliation to the Tories tactics had his application with the search engine turned down.
Speaking to Metro.co.uk, he said he was stunned by the audacity of the fake Labour manifesto site and thought he would ‘fight fire with fire’.
He added: ‘If the Conservative Party can buy ads and publish misleading content then so can I.’
Advertisement Advertisement
The tech professional, 36, says he is ‘not a Labour supporter in any sense’ but ‘hates it when people are hypocrites’.
He added: ‘I just wanted to poke fun of them and the way that they had tried to mislead people.’
The website features messages saying the Tories are ‘laughing at you’ and ‘trying to manipulate you’.
It slams the PM’s party for posting a ‘doctored’ video of Shadow Brexit Secretary Keir Starmer which makes him look like he couldn’t answer a question from Piers Morgan.
The page also rips into Johnson’s record, pointing out how he was fired from The Times for fabricating a quote, once referred to homosexuals as ‘bum boys’ and described black people as ‘flag-waving piccaninnies’ with ‘watermelon smiles’.
Its creator, who wants to remain anonymous, spent £40 on the project and had set aside a grand for advertising on Google.
Applicants bid for particular keywords which make their ads show up and can pay to target certain areas and demographics.
The website’s designer woke up this morning to an email from Google telling him he needed a certificate to advertise election ads in the European Union under the tech giant’s political content policy.
He added: ‘If they’re going to do that then they should also check that you’re advertising content for your own party.’
In order to give the Tories a run for their money, the worker from London says he was planning on setting up a crowdfunding website to raise £100,000 for advertising space.
Advertisement Advertisement
The fake Labour manifesto site has a message on it saying ‘a website by the Conservative Party’ and contains negative headlines about Corbyn’s plans.
But the creator of conservativemanifesto.org.uk says it doesn’t sit right with him and is still trying to win over voters deceptively.
He added: ‘I don’t want to call my fellow countrymen stupid, but propaganda doesn’t have to be believable to have an effect, it just has to plant a seed.’
‘I think demographics who could be misled could be maybe elderly people who aren’t so familiar with the internet and technology.
He warned the first thing many people read might be ‘what they latch on to’ and said the Tories wouldn’t be using this tactic if they didn’t think it would benefit them.
Metro.co.uk has contacted Google and the Conservative Party for comment.
Another mock website called thethetorymanifesto.com contains a list of ‘policies’ including ‘f*** the poor’, ‘f*** the homeless’, ‘f*** the disabled’ and ‘f*** you’.
A note at the bottom says it is a ‘parody made in protest against the recent actions of the Conservative party and their blatant use of propaganda in the buildup to this election’.
Advertisement
It says says the domain cost less than £1 for the year.
The Conservative Party also came under fire earlier this week for temporarily re-naming their Twitter account to ‘factcheckUK’ during ITV’s leadership debate.
The BBC’s Emily Maitlis’ called it ‘dystopian’ but Conservative chairman James Cleverley said ‘The Twitter handle of the CCHQ press office remained @CCHQPress so it’s clear the nature of the site.
‘The reason we did that is because we were calling out the inaccuracies, the lies that were coming out during the debate. The NHS is not for sale.’
Got a story for Metro.co.uk?
Get in touch with our news team by emailing us at<EMAIL_ADDRESS>For more stories like this, check our news page.


SANDBOX_PREFIX
SANDBOX_PREFIX
PHPSandbox class for PHP Sandboxes.
This class encapsulates the entire functionality of a PHPSandbox so that an end user only has to create a PHPSandbox instance, configure its options, and run their code
$allow_backticks : boolean
$sandboxes : array<mixed,\PHPSandbox\PHPSandbox>
$last_validation_error : \Exception|\PHPSandbox\Error
__construct(array $options = array(), array $functions = array(), array $variables = array(), array $constants = array(), array $namespaces = array(), array $aliases = array(), array $superglobals = array(), array $magic_constants = array(), array $classes = array(), array $interfaces = array(), array $traits = array())
PHPSandbox class constructor
You can pass optional arrays of predefined functions, variables, etc. to the sandbox through the constructor
| array | $options | Optional array of options to set for the sandbox |
| array | $functions | Optional array of functions to define for the sandbox |
| array | $variables | Optional array of variables to define for the sandbox |
| array | $constants | Optional array of constants to define for the sandbox |
| array | $namespaces | Optional array of namespaces to define for the sandbox |
| array | $aliases | Optional array of aliases to define for the sandbox |
| array | $superglobals | Optional array of superglobals to define for the sandbox |
| array | $magic_constants | Optional array of magic constants to define for the sandbox |
| array | $classes | Optional array of classes to define for the sandbox |
| array | $interfaces | Optional array of interfaces to define for the sandbox |
| array | $traits | Optional array of traits to define for the sandbox |
create(array $options = array(), array $functions = array(), array $variables = array(), array $constants = array(), array $namespaces = array(), array $aliases = array(), array $superglobals = array(), array $magic_constants = array(), array $classes = array(), array $interfaces = array(), array $traits = array()) : $this
PHPSandbox static factory method
You can pass optional arrays of predefined functions, variables, etc. to the sandbox through the constructor
| array | $options | Optional array of options to set for the sandbox |
| array | $functions | Optional array of functions to define for the sandbox |
| array | $variables | Optional array of variables to define for the sandbox |
| array | $constants | Optional array of constants to define for the sandbox |
| array | $namespaces | Optional array of namespaces to define for the sandbox |
| array | $aliases | Optional array of aliases to define for the sandbox |
| array | $superglobals | Optional array of superglobals to define for the sandbox |
| array | $magic_constants | Optional array of magic constants to define for the sandbox |
| array | $classes | Optional array of classes to define for the sandbox |
| array | $interfaces | Optional array of interfaces to define for the sandbox |
| array | $traits | Optional array of traits to define for the sandbox |
The returned PHPSandbox variable
__invoke(\Closure|callable|string $code) : mixed
PHPSandbox __invoke magic method
Besides the code or closure to be executed, you can also pass additional arguments that will overwrite the default values of their respective arguments defined in the code
| \Closure|callable|string | $code | The closure, callable or string of code to execute |
The output of the executed sandboxed code
import(array|string $template, integer $import_flag) : $this
PHPSandbox __wakeup magic method
| array|string | $template | The JSON array or string template to import |
| integer | $import_flag | Binary flags signifying which parts of the JSON template to import |
Throws exception if JSON template could not be imported
Returns the PHPSandbox instance for fluent querying
importJSON(array|string $template, integer $import_flag) : $this
Import JSON template into sandbox
| array|string | $template | The JSON array or string template to import |
| integer | $import_flag | Binary flags signifying which parts of the JSON template to import |
Throws exception if JSON template could not be imported
Returns the PHPSandbox instance for fluent querying
setOption(string|array $option, boolean|integer|null $value = null) : $this
Set PHPSandbox option
You can pass an $option name to set to $value, an array of $option names to set to $value, or an associative array of $option names and their values to set.
| string|array | $option | String or array of strings or associative array of keys of option names to set $value to |
| boolean|integer|null | $value | Boolean, integer or null $value to set $option to (optional) |
Returns the PHPSandbox instance for fluent querying
setOptions(array|string $options, boolean|integer|null $value = null) : $this
Set PHPSandbox options by array
You can pass an array of option names to set to $value, or an associative array of option names and their values to set.
| array|string | $options | Array of strings or associative array of keys of option names to set $value to, or JSON array or string template to import |
| boolean|integer|null | $value | Boolean, integer or null $value to set $option to (optional) |
Returns the PHPSandbox instance for fluent querying
setValidator(string $type, callable $callable) : \PHPSandbox\PHPSandbox
Set validation callable for specified $type
Validator callable must accept two parameters: a string of the normalized name of the checked element, and the PHPSandbox instance
| string | $type | String of $type name to set validator for |
| callable | $callable | Callable that validates the passed element |
Returns the PHPSandbox instance for fluent querying
unsetValidator(string $type) : \PHPSandbox\PHPSandbox
Unset validation callable for specified $type
| string | $type | String of $type to unset |
Returns the PHPSandbox instance for fluent querying
setFuncValidator(callable $callable) : \PHPSandbox\PHPSandbox
Set validation callable for functions
Validator callable must accept two parameters: a string of the normalized name of the checked element, and the PHPSandbox instance. NOTE: Normalized function names include the namespace and are lowercase!
| callable | $callable | Callable that validates the normalized passed function name |
Returns the PHPSandbox instance for fluent querying
unsetFuncValidator() : \PHPSandbox\PHPSandbox
Unset validation callable for functions
Returns the PHPSandbox instance for fluent querying
setVarValidator(callable $callable) : \PHPSandbox\PHPSandbox
Set validation callable for variables
Validator callable must accept two parameters: a string of the normalized name of the checked element, and the PHPSandbox instance
| callable | $callable | Callable that validates the passed variable name |
Returns the PHPSandbox instance for fluent querying
unsetVarValidator() : \PHPSandbox\PHPSandbox
Unset validation callable for variables
Returns the PHPSandbox instance for fluent querying
setGlobalValidator(callable $callable) : \PHPSandbox\PHPSandbox
Set validation callable for globals
Validator callable must accept two parameters: a string of the normalized name of the checked element, and the PHPSandbox instance
| callable | $callable | Callable that validates the passed global name |
Returns the PHPSandbox instance for fluent querying
unsetGlobalValidator() : \PHPSandbox\PHPSandbox
Unset validation callable for globals
Returns the PHPSandbox instance for fluent querying
setSuperglobalValidator(callable $callable) : \PHPSandbox\PHPSandbox
Set validation callable for superglobals
Validator callable must accept two parameters: a string of the normalized name of the checked element, and the PHPSandbox instance. NOTE: Normalized superglobal names are uppercase and without a leading _
| callable | $callable | Callable that validates the passed superglobal name |
Returns the PHPSandbox instance for fluent querying
unsetSuperglobalValidator() : \PHPSandbox\PHPSandbox
Unset validation callable for superglobals
Returns the PHPSandbox instance for fluent querying
setConstValidator(callable $callable) : \PHPSandbox\PHPSandbox
Set validation callable for constants
Validator callable must accept two parameters: a string of the normalized name of the checked element, and the PHPSandbox instance
| callable | $callable | Callable that validates the passed constant name |
Returns the PHPSandbox instance for fluent querying
unsetConstValidator() : \PHPSandbox\PHPSandbox
Unset validation callable for constants
Returns the PHPSandbox instance for fluent querying
setMagicConstValidator(callable $callable) : \PHPSandbox\PHPSandbox
Set validation callable for magic constants
Validator callable must accept two parameters: a string of the normalized name of the checked element, and the PHPSandbox instance. NOTE: Normalized magic constant names are upper case and trimmed of __
| callable | $callable | Callable that validates the passed magic constant name |
Returns the PHPSandbox instance for fluent querying
unsetMagicConstValidator() : \PHPSandbox\PHPSandbox
Unset validation callable for magic constants
Returns the PHPSandbox instance for fluent querying
setNamespaceValidator(callable $callable) : \PHPSandbox\PHPSandbox
Set validation callable for namespaces
Validator callable must accept two parameters: a string of the normalized name of the checked element, and the PHPSandbox instance
| callable | $callable | Callable that validates the passed namespace name |
Returns the PHPSandbox instance for fluent querying
unsetNamespaceValidator() : \PHPSandbox\PHPSandbox
Unset validation callable for namespaces
Returns the PHPSandbox instance for fluent querying
setAliasValidator(callable $callable) : \PHPSandbox\PHPSandbox
Set validation callable for aliases
Validator callable must accept two parameters: a string of the normalized name of the checked element, and the PHPSandbox instance
| callable | $callable | Callable that validates the passed alias name |
Returns the PHPSandbox instance for fluent querying
unsetAliasValidator() : \PHPSandbox\PHPSandbox
Unset validation callable for aliases
Returns the PHPSandbox instance for fluent querying
setUseValidator(callable $callable) : \PHPSandbox\PHPSandbox
Set validation callable for uses (aka aliases)
Validator callable must accept two parameters: a string of the normalized name of the checked element, and the PHPSandbox instance
| callable | $callable | Callable that validates the passed use (aka alias) name |
Returns the PHPSandbox instance for fluent querying
unsetUseValidator() : \PHPSandbox\PHPSandbox
Unset validation callable for uses (aka aliases)
Returns the PHPSandbox instance for fluent querying
setClassValidator(callable $callable) : \PHPSandbox\PHPSandbox
Set validation callable for classes
Validator callable must accept two parameters: a string of the normalized name of the checked element, and the PHPSandbox instance. NOTE: Normalized class names are lowercase
| callable | $callable | Callable that validates the passed class name |
Returns the PHPSandbox instance for fluent querying
unsetClassValidator() : \PHPSandbox\PHPSandbox
Unset validation callable for classes
Returns the PHPSandbox instance for fluent querying
setInterfaceValidator(callable $callable) : \PHPSandbox\PHPSandbox
Set validation callable for interfaces
Validator callable must accept two parameters: a string of the normalized name of the checked element, and the PHPSandbox instance. NOTE: Normalized interface names are lowercase
| callable | $callable | Callable that validates the passed interface name |
Returns the PHPSandbox instance for fluent querying
unsetInterfaceValidator() : \PHPSandbox\PHPSandbox
Unset validation callable for interfaces
Returns the PHPSandbox instance for fluent querying
setTraitValidator(callable $callable) : \PHPSandbox\PHPSandbox
Set validation callable for traits
Validator callable must accept two parameters: a string of the normalized name of the checked element, and the PHPSandbox instance. NOTE: Normalized trait names are lowercase
| callable | $callable | Callable that validates the passed trait name |
Returns the PHPSandbox instance for fluent querying
unsetTraitValidator() : \PHPSandbox\PHPSandbox
Unset validation callable for traits
Returns the PHPSandbox instance for fluent querying
setKeywordValidator(callable $callable) : \PHPSandbox\PHPSandbox
Set validation callable for keywords
Validator callable must accept two parameters: a string of the normalized name of the checked element, and the PHPSandbox instance
| callable | $callable | Callable that validates the passed keyword name |
Returns the PHPSandbox instance for fluent querying
unsetKeywordValidator() : \PHPSandbox\PHPSandbox
Unset validation callable for keywords
Returns the PHPSandbox instance for fluent querying
setOperatorValidator(callable $callable) : \PHPSandbox\PHPSandbox
Set validation callable for operators
Validator callable must accept two parameters: a string of the normalized name of the checked element, and the PHPSandbox instance
| callable | $callable | Callable that validates the passed operator name |
Returns the PHPSandbox instance for fluent querying
unsetOperatorValidator() : \PHPSandbox\PHPSandbox
Unset validation callable for operators
Returns the PHPSandbox instance for fluent querying
setPrimitiveValidator(callable $callable) : \PHPSandbox\PHPSandbox
Set validation callable for primitives
Validator callable must accept two parameters: a string of the normalized name of the checked element, and the PHPSandbox instance
| callable | $callable | Callable that validates the passed primitive name |
Returns the PHPSandbox instance for fluent querying
unsetPrimitiveValidator() : \PHPSandbox\PHPSandbox
Unset validation callable for primitives
Returns the PHPSandbox instance for fluent querying
setTypeValidator(callable $callable) : \PHPSandbox\PHPSandbox
Set validation callable for types
Validator callable must accept two parameters: a string of the normalized name of the checked element, and the PHPSandbox instance
| callable | $callable | Callable that validates the passed type name |
Returns the PHPSandbox instance for fluent querying
_get_defined_functions(array $functions = array()) : array
Get PHPSandbox redefined functions in place of get_defined_functions(). This is an internal PHPSandbox function but requires public access to work.
| array | $functions | Array result from get_defined_functions() is passed here |
Returns the redefined functions array
_get_defined_vars(array $variables = array()) : array
Get PHPSandbox redefined variables in place of get_defined_vars(). This is an internal PHPSandbox function but requires public access to work.
| array | $variables | Array result from get_defined_vars() is passed here |
Returns the redefined variables array
_get_magic_const(string $name) : array
Get PHPSandbox redefined magic constant. This is an internal PHPSandbox function but requires public access to work.
| string | $name | Requested magic constant name (e.g. FILE, LINE, etc.) |
Returns the redefined magic constant
_get_defined_constants(array $constants = array()) : array
Get PHPSandbox redefined constants in place of get_defined_constants(). This is an internal PHPSandbox function but requires public access to work.
| array | $constants | Array result from get_defined_constants() is passed here |
Returns the redefined constants
_get_declared_classes(array $classes = array()) : array
Get PHPSandbox redefined classes in place of get_declared_classes(). This is an internal PHPSandbox function but requires public access to work.
| array | $classes | Array result from get_declared_classes() is passed here |
Returns the redefined classes
_get_declared_interfaces(array $interfaces = array()) : array
Get PHPSandbox redefined interfaces in place of get_declared_interfaces(). This is an internal PHPSandbox function but requires public access to work.
| array | $interfaces | Array result from get_declared_interfaces() is passed here |
Returns the redefined interfaces
_get_declared_traits(array $traits = array()) : array
Get PHPSandbox redefined traits in place of get_declared_traits(). This is an internal PHPSandbox function but requires public access to work.
| array | $traits | Array result from get_declared_traits() is passed here |
Returns the redefined traits
_func_get_arg(array $arguments = array(), integer $index) : array
Get PHPSandbox redefined function argument
| array | $arguments | Array result from func_get_args() is passed here |
| integer | $index | Requested func_get_arg index is passed here |
Returns the redefined argument
define(string|array $type, string|array|null $name = null, mixed|null $value = null) : $this
Define PHPSandbox definitions, such as functions, constants, namespaces, etc.
You can pass a string of the $type, $name and $value, or pass an associative array of definitions types and an associative array of their corresponding values
| string|array | $type | Associative array or string of definition type to define |
| string|array|null | $name | Associative array or string of definition name to define |
| mixed|null | $value | Value of definition to define |
Returns the PHPSandbox instance for fluent querying
undefine(string|array $type, string|array $name = null) : $this
Undefine PHPSandbox definitions, such as functions, constants, namespaces, etc.
You can pass a string of the $type and $name to undefine, or pass an associative array of definitions types and an array of key names to undefine
| string|array | $type | Associative array or string of definition type to undefine |
| string|array | $name | Associative array or string of definition name to undefine |
Returns the PHPSandbox instance for fluent querying
defineFunc(string|array $name, callable $function, boolean $pass_sandbox = false) : $this
Define PHPSandbox function
You can pass the function $name and $function closure or callable to define, or an associative array of functions to define, which can have callable values or arrays of the function callable and $pass_sandbox flag
| string|array | $name | Associative array or string of function $name to define |
| callable | $function | Callable to define $function to |
| boolean | $pass_sandbox | Pass PHPSandbox instance to defined function when called? Default is false |
Throws exception if unnamed or uncallable $function is defined
Returns the PHPSandbox instance for fluent querying
undefineFunc(string|array $name) : $this
Undefine PHPSandbox function
You can pass a string of function $name to undefine, or pass an array of function names to undefine
| string|array | $name | String of function name or array of function names to undefine |
Returns the PHPSandbox instance for fluent querying
undefineFuncs(array $functions = array()) : $this
Undefine PHPSandbox functions by array
You can pass an array of function names to undefine, or an empty array or null argument to undefine all functions
| array | $functions | Array of function names to undefine. Passing an empty array or no argument will result in undefining all functions |
Returns the PHPSandbox instance for fluent querying
defineVar(string|array $name, mixed $value) : $this
Define PHPSandbox variable
You can pass the variable $name and $value to define, or an associative array of variables to define
| string|array | $name | String of variable $name or associative array to define |
| mixed | $value | Value to define variable to |
Throws exception if unnamed variable is defined
Returns the PHPSandbox instance for fluent querying
undefineVar(string|array $name) : $this
Undefine PHPSandbox variable
You can pass a string of variable $name to undefine, or an array of variable names to undefine
| string|array | $name | String of variable name or an array of variable names to undefine |
Returns the PHPSandbox instance for fluent querying
undefineVars(array $variables = array()) : $this
Undefine PHPSandbox variables by array
You can pass an array of variable names to undefine, or an empty array or null argument to undefine all variables
| array | $variables | Array of variable names to undefine. Passing an empty array or no argument will result in undefining all variables |
Returns the PHPSandbox instance for fluent querying
defineSuperglobal(string|array $name, mixed $value) : $this
Define PHPSandbox superglobal
You can pass the superglobal $name and $value to define, or an associative array of superglobals to define, or a third variable to define the $key
| string|array | $name | String of superglobal $name or associative array of superglobal names to define |
| mixed | $value | Value to define superglobal to, can be callable |
Throws exception if unnamed superglobal is defined
Returns the PHPSandbox instance for fluent querying
defineSuperglobals(array $superglobals = array()) : $this
Define PHPSandbox superglobals by array
You can pass an associative array of superglobals to define
| array | $superglobals | Associative array of $superglobals to define |
Returns the PHPSandbox instance for fluent querying
hasDefinedSuperglobals(string|null $name = null) : integer|boolean
Query whether PHPSandbox instance has defined superglobals, or if superglobal $name has defined keys
| string|null | $name | String of superglobal $name to check for keys |
Returns the number of superglobals or superglobal keys this instance has defined, or false if invalid superglobal name specified
isDefinedSuperglobal(string $name, string|null $key = null) : boolean
Check if PHPSandbox instance has $name superglobal defined, or if superglobal $name key is defined
| string | $name | String of superglobal $name to query |
| string|null | $key | String of key to to query in superglobal |
Returns true if PHPSandbox instance has defined superglobal, false otherwise
undefineSuperglobal(string|array $name, string|null $key = null) : $this
Undefine PHPSandbox superglobal or superglobal key
You can pass a string of superglobal $name to undefine, or a superglobal $key to undefine, or an array of superglobal names to undefine, or an an associative array of superglobal names and keys to undefine
| string|array | $name | String of superglobal $name, or array of superglobal names, or associative array of superglobal names and keys to undefine |
| string|null | $key | String of superglobal $key to undefine |
Returns the PHPSandbox instance for fluent querying
undefineSuperglobals(array $superglobals = array()) : $this
Undefine PHPSandbox superglobals by array
You can pass an array of superglobal names to undefine, or an associative array of superglobals names and key to undefine, or an empty array or null to undefine all superglobals
| array | $superglobals | Associative array of superglobal names and keys or array of superglobal names to undefine |
Returns the PHPSandbox instance for fluent querying
defineConst(string|array $name, mixed $value) : $this
Define PHPSandbox constant
You can pass the constant $name and $value to define, or an associative array of constants to define
| string|array | $name | String of constant $name or associative array to define |
| mixed | $value | Value to define constant to |
Throws exception if unnamed constant is defined
Returns the PHPSandbox instance for fluent querying
undefineConst(string|array $name) : $this
Undefine PHPSandbox constant
You can pass a string of constant $name to undefine, or an array of constant names to undefine
| string|array | $name | String of constant name or array of constant names to undefine |
Returns the PHPSandbox instance for fluent querying
undefineConsts(array $constants = array()) : $this
Undefine PHPSandbox constants by array
You can pass an array of constant names to undefine, or an empty array or null argument to undefine all constants
| array | $constants | Array of constant names to undefine. Passing an empty array or no argument will result in undefining all constants |
Returns the PHPSandbox instance for fluent querying
defineMagicConst(string|array $name, mixed $value) : $this
Define PHPSandbox magic constant
You can pass the magic constant $name and $value to define, or an associative array of magic constants to define
| string|array | $name | String of magic constant $name or associative array to define |
| mixed | $value | Value to define magic constant to, can be callable |
Throws exception if unnamed magic constant is defined
Returns the PHPSandbox instance for fluent querying
defineMagicConsts(array $magic_constants = array()) : $this
Define PHPSandbox magic constants by array
You can pass an associative array of magic constants to define
| array | $magic_constants | Associative array of $magic_constants to define |
Returns the PHPSandbox instance for fluent querying
undefineMagicConst(string|array $name) : $this
Undefine PHPSandbox magic constant
You can pass an a string of magic constant $name to undefine, or array of magic constant names to undefine
| string|array | $name | String of magic constant name, or array of magic constant names to undefine |
Returns the PHPSandbox instance for fluent querying
undefineMagicConsts(array $magic_constants = array()) : $this
Undefine PHPSandbox magic constants by array
You can pass an array of magic constant names to undefine, or an empty array or null argument to undefine all magic constants
| array | $magic_constants | Array of magic constant names to undefine. Passing an empty array or no argument will result in undefining all magic constants |
Returns the PHPSandbox instance for fluent querying
defineNamespace(string|array $name) : $this
Define PHPSandbox namespace
You can pass the namespace $name and $value to define, or an array of namespaces to define
| string|array | $name | String of namespace $name, or an array of namespace names to define |
Throws exception if unnamed namespace is defined
Returns the PHPSandbox instance for fluent querying
undefineNamespace(string|array $name) : $this
Undefine PHPSandbox namespace
You can pass a string of namespace $name to undefine, or an array of namespace names to undefine
| string|array | $name | String of namespace $name, or an array of namespace names to undefine |
Returns the PHPSandbox instance for fluent querying
undefineNamespaces(array $namespaces = array()) : $this
Undefine PHPSandbox namespaces by array
You can pass an array of namespace names to undefine, or an empty array or null argument to undefine all namespaces
| array | $namespaces | Array of namespace names to undefine. Passing an empty array or no argument will result in undefining all namespaces |
Returns the PHPSandbox instance for fluent querying
defineAlias(string|array $name, string|null $alias = null) : $this
Define PHPSandbox alias
You can pass the namespace $name and $alias to use, an array of namespaces to use, or an associative array of namespaces to use and their aliases
| string|array | $name | String of namespace $name to use, or or an array of namespaces to use, or an associative array of namespaces and their aliases to use |
| string|null | $alias | String of $alias to use |
Throws exception if unnamed namespace is used
Returns the PHPSandbox instance for fluent querying
defineAliases(array $aliases = array()) : $this
Define PHPSandbox aliases by array
You can pass an array of namespaces to use, or an associative array of namespaces to use and their aliases
| array | $aliases | Array of namespaces to use, or an associative array of namespaces and their aliases to use |
Throws exception if unnamed namespace is used
Returns the PHPSandbox instance for fluent querying
undefineAlias(string|array $name) : $this
Undefine PHPSandbox alias
You can pass a string of alias $name to undefine, or an array of alias names to undefine
| string|array | $name | String of alias name, or array of alias names to undefine |
Returns the PHPSandbox instance for fluent querying
undefineAliases(array $aliases = array()) : $this
Undefine PHPSandbox aliases by array
You can pass an array of alias names to undefine, or an empty array or null argument to undefine all aliases
| array | $aliases | Array of alias names to undefine. Passing an empty array or no argument will result in undefining all aliases |
Returns the PHPSandbox instance for fluent querying
defineUse(string|array $name, string|null $alias = null) : $this
Define PHPSandbox use (or alias)
| string|array | $name | String of namespace $name to use, or or an array of namespaces to use, or an associative array of namespaces and their aliases to use |
| string|null | $alias | String of $alias to use |
Throws exception if unnamed namespace is used
Returns the PHPSandbox instance for fluent querying
defineUses(array $uses = array()) : $this
Define PHPSandbox uses (or aliases) by array
| array | $uses | Array of namespaces to use, or an associative array of namespaces and their aliases to use |
Throws exception if unnamed namespace is used
Returns the PHPSandbox instance for fluent querying
undefineUse(string|array $name) : $this
Undefine PHPSandbox use (or alias)
You can pass a string of use (or alias) $name to undefine, or an array of use (or alias) names to undefine
| string|array | $name | String of use (or alias) name, or array of use (or alias) names to undefine |
Returns the PHPSandbox instance for fluent querying
undefineUses(array $uses = array()) : $this
Undefine PHPSandbox uses (or aliases) by array
| array | $uses | Array of use (or alias) names to undefine. Passing an empty array or no argument will result in undefining all uses (or aliases) |
Returns the PHPSandbox instance for fluent querying
defineClass(string|array $name, mixed $value) : $this
Define PHPSandbox class
You can pass the class $name and $value to define, or an associative array of classes to define
| string|array | $name | String of class $name or associative array to define |
| mixed | $value | Value to define class to |
Throws exception if unnamed class is defined
Returns the PHPSandbox instance for fluent querying
undefineClass(string|array $name) : $this
Undefine PHPSandbox class
You can pass a string of class $name to undefine, or an array of class names to undefine
| string|array | $name | String of class name or an array of class names to undefine |
Returns the PHPSandbox instance for fluent querying
undefineClasses(array $classes = array()) : $this
Undefine PHPSandbox classes by array
You can pass an array of class names to undefine, or an empty array or null argument to undefine all classes
| array | $classes | Array of class names to undefine. Passing an empty array or no argument will result in undefining all classes |
Returns the PHPSandbox instance for fluent querying
defineInterface(string|array $name, mixed $value) : $this
Define PHPSandbox interface
You can pass the interface $name and $value to define, or an associative array of interfaces to define
| string|array | $name | String of interface $name or associative array to define |
| mixed | $value | Value to define interface to |
Throws exception if unnamed interface is defined
Returns the PHPSandbox instance for fluent querying
defineInterfaces(array $interfaces = array()) : $this
Define PHPSandbox interfaces by array
You can pass an associative array of interfaces to define
| array | $interfaces | Associative array of $interfaces to define |
Returns the PHPSandbox instance for fluent querying
undefineInterface(string|array $name) : $this
Undefine PHPSandbox interface
You can pass a string of interface $name to undefine, or an array of interface names to undefine
| string|array | $name | String of interface name or an array of interface names to undefine |
Returns the PHPSandbox instance for fluent querying
undefineInterfaces(array $interfaces = array()) : $this
Undefine PHPSandbox interfaces by array
You can pass an array of interface names to undefine, or an empty array or null argument to undefine all interfaces
| array | $interfaces | Array of interface names to undefine. Passing an empty array or no argument will result in undefining all interfaces |
Returns the PHPSandbox instance for fluent querying
defineTrait(string|array $name, mixed $value) : $this
Define PHPSandbox trait
You can pass the trait $name and $value to define, or an associative array of traits to define
| string|array | $name | String of trait $name or associative array to define |
| mixed | $value | Value to define trait to |
Throws exception if unnamed trait is defined
Returns the PHPSandbox instance for fluent querying
undefineTrait(string|array $name) : $this
Undefine PHPSandbox trait
You can pass a string of trait $name to undefine, or an array of trait names to undefine
| string|array | $name | String of trait name or an array of trait names to undefine |
Returns the PHPSandbox instance for fluent querying
undefineTraits(array $traits = array()) : $this
Undefine PHPSandbox traits by array
You can pass an array of trait names to undefine, or an empty array or null argument to undefine all traits
| array | $traits | Array of trait names to undefine. Passing an empty array or no argument will result in undefining all traits |
Returns the PHPSandbox instance for fluent querying
whitelist(string|array $type, string|array|null $name = null) : $this
Whitelist PHPSandbox definitions, such as functions, constants, classes, etc. to set
You can pass an associative array of whitelist types and their names, or a string $type and array of $names, or pass a string of the $type and $name
| string|array | $type | Associative array or string of whitelist type to set |
| string|array|null | $name | Array or string of whitelist name to set |
Returns the PHPSandbox instance for fluent querying
blacklist(string|array $type, string|array|null $name = null) : $this
Blacklist PHPSandbox definitions, such as functions, constants, classes, etc. to set
You can pass an associative array of blacklist types and their names, or a string $type and array of $names, or pass a string of the $type and $name
| string|array | $type | Associative array or string of blacklist type to set |
| string|array|null | $name | Array or string of blacklist name to set |
Returns the PHPSandbox instance for fluent querying
dewhitelist(string|array $type, string|array|null $name) : $this
Remove PHPSandbox definitions, such as functions, constants, classes, etc. from whitelist
You can pass an associative array of whitelist types and their names, or a string $type and array of $names, or pass a string of the $type and $name to unset
| string|array | $type | Associative array or string of whitelist type to unset |
| string|array|null | $name | Array or string of whitelist name to unset |
Returns the PHPSandbox instance for fluent querying
deblacklist(string|array $type, string|array|null $name) : $this
Remove PHPSandbox definitions, such as functions, constants, classes, etc. from blacklist
You can pass an associative array of blacklist types and their names, or a string $type and array of $names, or pass a string of the $type and $name to unset
| string|array | $type | Associative array or string of blacklist type to unset |
| string|array|null | $name | Array or string of blacklist name to unset |
Returns the PHPSandbox instance for fluent querying
isWhitelisted(string $type, string $name) : boolean
Check if PHPSandbox instance has whitelist type and name set
| string | $type | String of whitelist $type to query |
| string | $name | String of whitelist $name to query |
Returns true if PHPSandbox instance has whitelisted $type and $name, false otherwise
isBlacklisted(string $type, string $name) : boolean
Check if PHPSandbox instance has blacklist type and name set
| string | $type | String of blacklist $type to query |
| string | $name | String of blacklist $name to query |
Returns true if PHPSandbox instance has blacklisted $type and $name, false otherwise
hasWhitelistedSuperglobals(string $name = null) : integer
Query whether PHPSandbox instance has whitelisted superglobals, or superglobal keys
| string | $name | The whitelist superglobal key to query |
Returns the number of whitelisted superglobals or superglobal keys this instance has defined
hasBlacklistedSuperglobals(string $name = null) : integer
Query whether PHPSandbox instance has blacklisted superglobals, or superglobal keys
| string | $name | The blacklist superglobal key to query |
Returns the number of blacklisted superglobals or superglobal keys this instance has defined
isWhitelistedSuperglobal(string $name, string $key = null) : boolean
Check if PHPSandbox instance has whitelisted superglobal or superglobal key set
| string | $name | String of whitelisted superglobal $name to query |
| string | $key | String of whitelisted superglobal $key to query |
Returns true if PHPSandbox instance has whitelisted superglobal key or superglobal, false otherwise
isBlacklistedSuperglobal(string $name, string $key = null) : boolean
Check if PHPSandbox instance has blacklisted superglobal or superglobal key set
| string | $name | String of blacklisted superglobal $name to query |
| string | $key | String of blacklisted superglobal $key to query |
Returns true if PHPSandbox instance has blacklisted superglobal key or superglobal, false otherwise
isWhitelistedMagicConst(string $name) : boolean
Check if PHPSandbox instance has whitelisted magic constant name set
| string | $name | String of magic constant $name to query |
Returns true if PHPSandbox instance has whitelisted magic constant $name, false otherwise
isBlacklistedMagicConst(string $name) : boolean
Check if PHPSandbox instance has blacklisted magic constant name set
| string | $name | String of magic constant $name to query |
Returns true if PHPSandbox instance has blacklisted magic constant $name, false otherwise
isWhitelistedUse(string $name) : boolean
Check if PHPSandbox instance has whitelisted use (or alias) name set
| string | $name | String of use (or alias) $name to query |
Returns true if PHPSandbox instance has whitelisted use (or alias) $name, false otherwise
isBlacklistedUse(string $name) : boolean
Check if PHPSandbox instance has blacklisted use (or alias) name set
| string | $name | String of use (or alias) $name to query |
Returns true if PHPSandbox instance has blacklisted use (or alias) $name, false otherwise
whitelistFunc(string|array $name) : $this
Whitelist function
You can pass a string of the function name, or pass an array of function names to whitelist
| string|array | $name | String of function name, or array of function names to whitelist |
Returns the PHPSandbox instance for fluent querying
blacklistFunc(string|array $name) : $this
Blacklist function
You can pass a string of the function name, or pass an array of function names to blacklist
| string|array | $name | String of function name, or array of function names to blacklist |
Returns the PHPSandbox instance for fluent querying
dewhitelistFunc(string|array $name) : $this
Remove function from whitelist
You can pass a string of the function name, or pass an array of function names to remove from whitelist
| string|array | $name | String of function name or array of function names to remove from whitelist |
Returns the PHPSandbox instance for fluent querying
deblacklistFunc(string|array $name) : $this
Remove function from blacklist
You can pass a string of the function name, or pass an array of function names to remove from blacklist
| string|array | $name | String of function name or array of function names to remove from blacklist |
Returns the PHPSandbox instance for fluent querying
whitelistVar(string|array $name) : $this
Whitelist variable
You can pass a string of variable name, or pass an array of the variable names to whitelist
| string|array | $name | String of variable name or array of variable names to whitelist |
Returns the PHPSandbox instance for fluent querying
blacklistVar(string|array $name) : $this
Blacklist variable
You can pass a string of variable name, or pass an array of the variable names to blacklist
| string|array | $name | String of variable name or array of variable names to blacklist |
Returns the PHPSandbox instance for fluent querying
dewhitelistVar(string|array $name) : $this
Remove variable from whitelist
You can pass a string of variable name, or pass an array of the variable names to remove from whitelist
| string|array | $name | String of variable name or array of variable names to remove from whitelist |
Returns the PHPSandbox instance for fluent querying
deblacklistVar(string|array $name) : $this
Remove function from blacklist
You can pass a string of variable name, or pass an array of the variable names to remove from blacklist
| string|array | $name | String of variable name or array of variable names to remove from blacklist |
Returns the PHPSandbox instance for fluent querying
whitelistGlobal(string|array $name) : $this
Whitelist global
You can pass a string of global name, or pass an array of the global names to whitelist
| string|array | $name | String of global name or array of global names to whitelist |
Returns the PHPSandbox instance for fluent querying
blacklistGlobal(string|array $name) : $this
Blacklist global
You can pass a string of global name, or pass an array of the global names to blacklist
| string|array | $name | String of global name or array of global names to blacklist |
Returns the PHPSandbox instance for fluent querying
dewhitelistGlobal(string|array $name) : $this
Remove global from whitelist
You can pass a string of global name, or pass an array of the global names to remove from whitelist
| string|array | $name | String of global name or array of global names to remove from whitelist |
Returns the PHPSandbox instance for fluent querying
deblacklistGlobal(string|array $name) : $this
Remove global from blacklist
You can pass a string of global name, or pass an array of the global names to remove from blacklist
| string|array | $name | String of global name or array of global names to remove from blacklist |
Returns the PHPSandbox instance for fluent querying
whitelistSuperglobal(string|array $name, string $key = null) : $this
Whitelist superglobal or superglobal key
You can pass a string of the superglobal name, or a string of the superglobal name and a string of the key, or pass an array of superglobal names, or an associative array of superglobal names and their keys to whitelist
| string|array | $name | String of superglobal name, or an array of superglobal names, or an associative array of superglobal names and their keys to whitelist |
| string | $key | String of superglobal key to whitelist |
Returns the PHPSandbox instance for fluent querying
blacklistSuperglobal(string|array $name, string $key = null) : $this
Blacklist superglobal or superglobal key * You can pass a string of the superglobal name, or a string of the superglobal name and a string of the key, or pass an array of superglobal names, or an associative array of superglobal names and their keys to blacklist
| string|array | $name | String of superglobal name, or an array of superglobal names, or an associative array of superglobal names and their keys to blacklist |
| string | $key | String of superglobal key to blacklist |
Returns the PHPSandbox instance for fluent querying
dewhitelistSuperglobal(string|array $name, string $key = null) : $this
Remove superglobal or superglobal key from whitelist * You can pass a string of the superglobal name, or a string of the superglobal name and a string of the key, or pass an array of superglobal names, or an associative array of superglobal names and their keys to remove from whitelist
| string|array | $name | String of superglobal name, or an array of superglobal names, or an associative array of superglobal names and their keys to remove from whitelist |
| string | $key | String of superglobal key to remove from whitelist |
Returns the PHPSandbox instance for fluent querying
deblacklistSuperglobal(string|array $name, string $key = null) : $this
Remove superglobal or superglobal key from blacklist * You can pass a string of the superglobal name, or a string of the superglobal name and a string of the key, or pass an array of superglobal names, or an associative array of superglobal names and their keys to remove from blacklist
| string|array | $name | String of superglobal name, or an array of superglobal names, or an associative array of superglobal names and their keys to remove from blacklist |
| string | $key | String of superglobal key to remove from blacklist |
Returns the PHPSandbox instance for fluent querying
whitelistConst(string|array $name) : $this
Whitelist constant
You can pass a string of constant name, or pass an array of the constant names to whitelist
| string|array | $name | String of constant name or array of constant names to whitelist |
Returns the PHPSandbox instance for fluent querying
blacklistConst(string|array $name) : $this
Blacklist constant
You can pass a string of constant name, or pass an array of the constant names to blacklist
| string|array | $name | String of constant name or array of constant names to blacklist |
Returns the PHPSandbox instance for fluent querying
dewhitelistConst(string|array $name) : $this
Remove constant from whitelist
You can pass a string of constant name, or pass an array of the constant names to remove from whitelist
| string|array | $name | String of constant name or array of constant names to remove from whitelist |
Returns the PHPSandbox instance for fluent querying
deblacklistConst(string|array $name) : $this
Remove constant from blacklist
You can pass a string of constant name, or pass an array of the constant names to remove from blacklist
| string|array | $name | String of constant name or array of constant names to remove from blacklist |
Returns the PHPSandbox instance for fluent querying
whitelistMagicConst(string|array $name) : $this
Whitelist magic constant
You can pass a string of magic constant name, or pass an array of the magic constant names to whitelist
| string|array | $name | String of magic constant name or array of magic constant names to whitelist |
Returns the PHPSandbox instance for fluent querying
blacklistMagicConst(string|array $name) : $this
Blacklist magic constant
You can pass a string of magic constant name, or pass an array of the magic constant names to blacklist
| string|array | $name | String of magic constant name or array of magic constant names to blacklist |
Returns the PHPSandbox instance for fluent querying
dewhitelistMagicConst(string|array $name) : $this
Remove magic constant from whitelist
You can pass a string of magic constant name, or pass an array of the magic constant names to remove from whitelist
| string|array | $name | String of magic constant name or array of magic constant names to remove from whitelist |
Returns the PHPSandbox instance for fluent querying
deblacklistMagicConst(string|array $name) : $this
Remove magic constant from blacklist
You can pass a string of magic constant name, or pass an array of the magic constant names to remove from blacklist
| string|array | $name | String of magic constant name or array of magic constant names to remove from blacklist |
Returns the PHPSandbox instance for fluent querying
whitelistNamespace(string|array $name) : $this
Whitelist namespace
You can pass a string of namespace name, or pass an array of the namespace names to whitelist
| string|array | $name | String of namespace name or array of namespace names to whitelist |
Returns the PHPSandbox instance for fluent querying
blacklistNamespace(string|array $name) : $this
Blacklist namespace
You can pass a string of namespace name, or pass an array of the namespace names to blacklist
| string|array | $name | String of namespace name or array of namespace names to blacklist |
Returns the PHPSandbox instance for fluent querying
dewhitelistNamespace(string|array $name) : $this
Remove namespace from whitelist
You can pass a string of namespace name, or pass an array of the namespace names to remove from whitelist
| string|array | $name | String of namespace name or array of namespace names to remove from whitelist |
Returns the PHPSandbox instance for fluent querying
deblacklistNamespace(string|array $name) : $this
Remove namespace from blacklist
You can pass a string of namespace name, or pass an array of the namespace names to remove from blacklist
| string|array | $name | String of namespace name or array of namespace names to remove from blacklist |
Returns the PHPSandbox instance for fluent querying
whitelistAlias(string|array $name) : $this
Whitelist alias
You can pass a string of alias name, or pass an array of the alias names to whitelist
| string|array | $name | String of alias names or array of alias names to whitelist |
Returns the PHPSandbox instance for fluent querying
blacklistAlias(string|array $name) : $this
Blacklist alias
You can pass a string of alias name, or pass an array of the alias names to blacklist
| string|array | $name | String of alias name or array of alias names to blacklist |
Returns the PHPSandbox instance for fluent querying
dewhitelistAlias(string|array $name) : $this
Remove alias from whitelist
You can pass a string of alias name, or pass an array of the alias names to remove from whitelist
| string|array | $name | String of alias name or array of alias names to remove from whitelist |
Returns the PHPSandbox instance for fluent querying
deblacklistAlias(string|array $name) : $this
Remove alias from blacklist
You can pass a string of alias name, or pass an array of the alias names to remove from blacklist
| string|array | $name | String of alias name or array of alias names to remove from blacklist |
Returns the PHPSandbox instance for fluent querying
whitelistUse(string|array $name) : $this
Whitelist use (or alias)
You can pass a string of use (or alias) name, or pass an array of the use (or alias) names to whitelist
| string|array | $name | String of use (or alias) name or array of use (or alias) names to whitelist |
Returns the PHPSandbox instance for fluent querying
blacklistUse(string|array $name) : $this
Blacklist use (or alias)
You can pass a string of use (or alias) name, or pass an array of the use (or alias) names to blacklist
| string|array | $name | String of use (or alias) name or array of use (or alias) names to blacklist |
Returns the PHPSandbox instance for fluent querying
dewhitelistUse(string|array $name) : $this
Remove use (or alias) from whitelist
You can pass a string of use (or alias name, or pass an array of the use (or alias) names to remove from whitelist
| string|array | $name | String of use (or alias) name or array of use (or alias) names to remove from whitelist |
Returns the PHPSandbox instance for fluent querying
deblacklistUse(string|array $name) : $this
Remove use (or alias) from blacklist
You can pass a string of use (or alias name, or pass an array of the use (or alias) names to remove from blacklist
| string|array | $name | String of use (or alias) name or array of use (or alias) names to remove from blacklist |
Returns the PHPSandbox instance for fluent querying
whitelistClass(string|array $name) : $this
Whitelist class
You can pass a string of class name, or pass an array of the class names to whitelist
| string|array | $name | String of class name or array of class names to whitelist |
Returns the PHPSandbox instance for fluent querying
blacklistClass(string|array $name) : $this
Blacklist class
You can pass a string of class name, or pass an array of the class names to blacklist
| string|array | $name | String of class name or array of class names to blacklist |
Returns the PHPSandbox instance for fluent querying
dewhitelistClass(string|array $name) : $this
Remove class from whitelist
You can pass a string of class name, or pass an array of the class names to remove from whitelist
| string|array | $name | String of class name or array of class names to remove from whitelist |
Returns the PHPSandbox instance for fluent querying
deblacklistClass(string|array $name) : $this
Remove class from blacklist
You can pass a string of class name, or pass an array of the class names to remove from blacklist
| string|array | $name | String of class name or array of class names to remove from blacklist |
Returns the PHPSandbox instance for fluent querying
whitelistInterface(string|array $name) : $this
Whitelist interface
You can pass a string of interface name, or pass an array of the interface names to whitelist
| string|array | $name | String of interface name or array of interface names to whitelist |
Returns the PHPSandbox instance for fluent querying
blacklistInterface(string|array $name) : $this
Blacklist interface
You can pass a string of interface name, or pass an array of the interface names to blacklist
| string|array | $name | String of interface name or array of interface names to blacklist |
Returns the PHPSandbox instance for fluent querying
dewhitelistInterface(string|array $name) : $this
Remove interface from whitelist
You can pass a string of interface name, or pass an array of the interface names to remove from whitelist
| string|array | $name | String of interface name or array of interface names to remove from whitelist |
Returns the PHPSandbox instance for fluent querying
deblacklistInterface(string|array $name) : $this
Remove interface from blacklist
You can pass a string of interface name, or pass an array of the interface names to remove from blacklist
| string|array | $name | String of interface name or array of interface names to remove from blacklist |
Returns the PHPSandbox instance for fluent querying
whitelistTrait(string|array $name) : $this
Whitelist trait
You can pass a string of trait name, or pass an array of the trait names to whitelist
| string|array | $name | String of trait name or array of trait names to whitelist |
Returns the PHPSandbox instance for fluent querying
blacklistTrait(string|array $name) : $this
Blacklist trait
You can pass a string of trait name, or pass an array of the trait names to blacklist
| string|array | $name | String of trait name or array of trait names to blacklist |
Returns the PHPSandbox instance for fluent querying
dewhitelistTrait(string|array $name) : $this
Remove trait from whitelist
You can pass a string of trait name, or pass an array of the trait names to remove from whitelist
| string|array | $name | String of trait name or array of trait names to remove from whitelist |
Returns the PHPSandbox instance for fluent querying
deblacklistTrait(string|array $name) : $this
Remove trait from blacklist
You can pass a string of trait name, or pass an array of the trait names to remove from blacklist
| string|array | $name | String of trait name or array of trait names to remove from blacklist |
Returns the PHPSandbox instance for fluent querying
whitelistKeyword(string|array $name) : $this
Whitelist keyword
You can pass a string of keyword name, or pass an array of the keyword names to whitelist
| string|array | $name | String of keyword name or array of keyword names to whitelist |
Returns the PHPSandbox instance for fluent querying
blacklistKeyword(string|array $name) : $this
Blacklist keyword
You can pass a string of keyword name, or pass an array of the keyword names to blacklist
| string|array | $name | String of keyword name or array of keyword names to blacklist |
Returns the PHPSandbox instance for fluent querying
dewhitelistKeyword(string|array $name) : $this
Remove keyword from whitelist
You can pass a string of keyword name, or pass an array of the keyword names to remove from whitelist
| string|array | $name | String of keyword name or array of keyword names to remove from whitelist |
Returns the PHPSandbox instance for fluent querying
deblacklistKeyword(string|array $name) : $this
Remove keyword from blacklist
You can pass a string of keyword name, or pass an array of the keyword names to remove from blacklist
| string|array | $name | String of keyword name or array of keyword names to remove from blacklist |
Returns the PHPSandbox instance for fluent querying
whitelistOperator(string|array $name) : $this
Whitelist operator
You can pass a string of operator name, or pass an array of the operator names to whitelist
| string|array | $name | String of operator name or array of operator names to whitelist |
Returns the PHPSandbox instance for fluent querying
blacklistOperator(string|array $name) : $this
Blacklist operator
You can pass a string of operator name, or pass an array of the operator names to blacklist
| string|array | $name | String of operator name or array of operator names to blacklist |
Returns the PHPSandbox instance for fluent querying
dewhitelistOperator(string|array $name) : $this
Remove operator from whitelist
You can pass a string of operator name, or pass an array of the operator names to remove from whitelist
| string|array | $name | String of operator name or array of operator names to remove from whitelist |
Returns the PHPSandbox instance for fluent querying
deblacklistOperator(string|array $name) : $this
Remove operator from blacklist
You can pass a string of operator name, or pass an array of the operator names to remove from blacklist
| string|array | $name | String of operator name or array of operator names to remove from blacklist |
Returns the PHPSandbox instance for fluent querying
whitelistPrimitive(string|array $name) : $this
Whitelist primitive
You can pass a string of primitive name, or pass an array of the primitive names to whitelist
| string|array | $name | String of primitive name or array of primitive names to whitelist |
Returns the PHPSandbox instance for fluent querying
blacklistPrimitive(string|array $name) : $this
Blacklist primitive
You can pass a string of primitive name, or pass an array of the primitive names to blacklist
| string|array | $name | String of primitive name or array of primitive names to blacklist |
Returns the PHPSandbox instance for fluent querying
dewhitelistPrimitive(string|array $name) : $this
Remove primitive from whitelist
You can pass a string of primitive name, or pass an array of the primitive names to remove from whitelist
| string|array | $name | String of primitive name or array of primitive names to remove from whitelist |
Returns the PHPSandbox instance for fluent querying
deblacklistPrimitive(string|array $name) : $this
Remove primitive from blacklist
You can pass a string of primitive name, or pass an array of the primitive names to remove from blacklist
| string|array | $name | String of primitive name or array of primitive names to remove from blacklist |
Returns the PHPSandbox instance for fluent querying
whitelistType(string|array $name) : $this
Whitelist type
You can pass a string of type name, or pass an array of the type names to whitelist
| string|array | $name | String of type name or array of type names to whitelist |
Returns the PHPSandbox instance for fluent querying
blacklistType(string|array $name) : $this
Blacklist type
You can pass a string of type name, or pass an array of the type names to blacklist
| string|array | $name | String of type name or array of type names to blacklist |
Returns the PHPSandbox instance for fluent querying
dewhitelistType(string|array $name) : $this
Remove type from whitelist
You can pass a string of type name, or pass an array of the type names to remove from whitelist
| string|array | $name | String of type name or array of type names to remove from whitelist |
Returns the PHPSandbox instance for fluent querying
deblacklistType(string|array $name) : $this
Remove type from blacklist
You can pass a string of type name, or pass an array of the type names to remove from blacklist
| string|array | $name | String of type name or array of type names to remove from blacklist |
Returns the PHPSandbox instance for fluent querying
checkFunc(string $name) : boolean
Check function name against PHPSandbox validation rules. This is an internal PHPSandbox function but requires public access to work.
| string | $name | String of the function name to check |
Throws exception if validation error occurs
Returns true if function is valid, this is also used for testing closures
checkVar(string $name) : boolean
Check variable name against PHPSandbox validation rules. This is an internal PHPSandbox function but requires public access to work.
| string | $name | String of the variable name to check |
Throws exception if validation error occurs
Returns true if variable is valid
checkGlobal(string $name) : boolean
Check global name against PHPSandbox validation rules. This is an internal PHPSandbox function but requires public access to work.
| string | $name | String of the global name to check |
Throws exception if validation error occurs
Returns true if global is valid
checkSuperglobal(string $name) : boolean
Check superglobal name against PHPSandbox validation rules. This is an internal PHPSandbox function but requires public access to work.
| string | $name | String of the superglobal name to check |
Throws exception if validation error occurs
Returns true if superglobal is valid
checkConst(string $name) : boolean
Check constant name against PHPSandbox validation rules. This is an internal PHPSandbox function but requires public access to work.
| string | $name | String of the constant name to check |
Throws exception if validation error occurs
Returns true if constant is valid
checkMagicConst(string $name) : boolean
Check magic constant name against PHPSandbox validation rules. This is an internal PHPSandbox function but requires public access to work.
| string | $name | String of the magic constant name to check |
Throws exception if validation error occurs
Returns true if magic constant is valid
checkNamespace(string $name) : boolean
Check namespace name against PHPSandbox validation rules. This is an internal PHPSandbox function but requires public access to work.
| string | $name | String of the namespace name to check |
Throws exception if validation error occurs
Returns true if namespace is valid
checkAlias(string $name) : boolean
Check alias name against PHPSandbox validation rules. This is an internal PHPSandbox function but requires public access to work.
| string | $name | String of the alias name to check |
Throws exception if validation error occurs
Returns true if alias is valid
checkUse(string $name) : boolean
Check use (or alias) name against PHPSandbox validation rules. This is an internal PHPSandbox function but requires public access to work.
| string | $name | String of the use (or alias) name to check |
Throws exception if validation error occurs
Returns true if use (or alias) is valid
checkClass(string $name, boolean $extends = false) : boolean
Check class name against PHPSandbox validation rules. This is an internal PHPSandbox function but requires public access to work.
| string | $name | String of the class name to check |
| boolean | $extends | Flag whether this is an extended class |
Throws exception if validation error occurs
Returns true if class is valid
checkInterface(string $name) : boolean
Check interface name against PHPSandbox validation rules. This is an internal PHPSandbox function but requires public access to work.
| string | $name | String of the interface name to check |
Throws exception if validation error occurs
Returns true if interface is valid
checkTrait(string $name) : boolean
Check trait name against PHPSandbox validation rules. This is an internal PHPSandbox function but requires public access to work.
| string | $name | String of the trait name to check |
Throws exception if validation error occurs
Returns true if trait is valid
checkKeyword(string $name) : boolean
Check keyword name against PHPSandbox validation rules. This is an internal PHPSandbox function but requires public access to work.
| string | $name | String of the keyword name to check |
Throws exception if validation error occurs
Returns true if keyword is valid
checkOperator(string $name) : boolean
Check operator name against PHPSandbox validation rules. This is an internal PHPSandbox function but requires public access to work.
| string | $name | String of the type operator to check |
Throws exception if validation error occurs
Returns true if operator is valid
checkPrimitive(string $name) : boolean
Check primitive name against PHPSandbox validation rules. This is an internal PHPSandbox function but requires public access to work.
| string | $name | String of the primitive name to check |
Throws exception if validation error occurs
Returns true if primitive is valid
checkType(string $name) : boolean
Check type name against PHPSandbox validation rules. This is an internal PHPSandbox function but requires public access to work.
| string | $name | String of the type name to check |
Throws exception if validation error occurs
Returns true if type is valid
getPreparedTime(integer|null $round) : float
Return the amount of time the sandbox spent preparing the sandboxed code
You can pass the number of digits you wish to round the return value
| integer|null | $round | The number of digits to round the return value |
The amount of time in microseconds it took to prepare the sandboxed code
getExecutionTime(integer|null $round) : float
Return the amount of time the sandbox spent executing the sandboxed code
You can pass the number of digits you wish to round the return value
| integer|null | $round | The number of digits to round the return value |
The amount of time in microseconds it took to execute the sandboxed code
getTime(integer|null $round) : float
Return the amount of time the sandbox spent preparing and executing the sandboxed code
You can pass the number of digits you wish to round the return value
| integer|null | $round | The number of digits to round the return value |
The amount of time in microseconds it took to prepare and execute the sandboxed code
getMemoryUsage(integer|null $round) : integer
Return the amount of bytes the sandbox allocated while preparing and executing the sandboxed code
You can pass the number of digits you wish to round the return value
| integer|null | $round | The number of digits to round the return value |
The amount of bytes in memory it took to prepare and execute the sandboxed code
prepare(callable $code, boolean $skip_validation = false) : string
Prepare passed callable for execution
This function validates your code and automatically whitelists it according to your specified configuration
| callable | $code | The callable to prepare for execution |
| boolean | $skip_validation | Boolean flag to indicate whether the sandbox should skip validation. Default is false. |
Throws exception if error occurs in parsing, validation or whitelisting
The generated code (this can also be accessed via $sandbox->generated_code)
execute(callable|string $callable = null, boolean $skip_validation = false) : mixed
Prepare and execute callable and return output
This function validates your code and automatically whitelists it according to your specified configuration, then executes it.
| callable|string | $callable | Callable or string of PHP code to prepare and execute within the sandbox |
| boolean | $skip_validation | Boolean flag to indicate whether the sandbox should skip validation of the pass callable. Default is false. |
Throws exception if error occurs in parsing, validation or whitelisting or if generated closure is invalid
The output from the executed sandboxed code
setErrorHandler(callable $handler, integer $error_types = E_ALL) : $this
Set callable to handle errors
This function sets the sandbox error handler and the handled error types. The handler accepts the error number, the error message, the error file, the error line, the error context and the sandbox instance as arguments. If the error handler does not handle errors correctly then the sandbox's security may become compromised!
}, E_ALL); //ignore all errors, INSECURE
| callable | $handler | Callable to handle thrown Errors |
| integer | $error_types | Integer flag of the error types to handle (default is E_ALL) |
Returns the PHPSandbox instance for fluent querying
error(integer $errno, string $errstr, string $errfile, integer $errline, array $errcontext) : mixed
Invoke sandbox error handler
| integer | $errno | Error number |
| string | $errstr | Error message |
| string | $errfile | Error file |
| integer | $errline | Error line number |
| array | $errcontext | Error context array |
setExceptionHandler(callable $handler) : $this
Set callable to handle thrown exceptions
This function sets the sandbox exception handler. The handler accepts the thrown exception and the sandbox instance as arguments. If the exception handler does not handle exceptions correctly then the sandbox's security may become compromised!
| callable | $handler | Callable to handle thrown exceptions |
Returns the PHPSandbox instance for fluent querying
getLastException() : \Exception|\PHPSandbox\Error
Gets the last exception thrown by the sandbox
setValidationErrorHandler(callable $handler) : $this
Set callable to handle thrown validation Errors
This function sets the sandbox validation Error handler. The handler accepts the thrown Error and the sandbox instance as arguments. If the error handler does not handle validation errors correctly then the sandbox's security may become compromised!
| callable | $handler | Callable to handle thrown validation Errors |
Returns the PHPSandbox instance for fluent querying
getLastValidationError() : \Exception|\PHPSandbox\Error
Gets the last validation error thrown by the sandbox
validationError(\Exception|\PHPSandbox\Error|string $error, integer $code, \PhpParser\Node|null $node = null, mixed $data = null, \Exception|\PHPSandbox\Error|null $previous = null) : mixed
Invoke sandbox error validation handler if it exists, throw Error otherwise
| \Exception|\PHPSandbox\Error|string | $error | Error to throw if Error is not handled, or error message string |
| integer | $code | The error code |
| \PhpParser\Node|null | $node | The error parser node |
| mixed | $data | The error data |
| \Exception|\PHPSandbox\Error|null | $previous | The previous Error thrown |
getSandbox(string $name) : null|\PHPSandbox\PHPSandbox
Get a named PHPSandbox instance (used to retrieve the sandbox instance from within sandboxed code)
| string | $name | The name of the PHPSandbox instance to retrieve |
normalizeFunc(string|array $name) : string|array
Normalize function name. This is an internal PHPSandbox function.
| string|array | $name | String of the function $name, or array of strings to normalize |
Returns the normalized function string or an array of normalized strings
normalizeSuperglobal(string|array $name) : string|array
Normalize superglobal name. This is an internal PHPSandbox function.
| string|array | $name | String of the superglobal $name, or array of strings to normalize |
Returns the normalized superglobal string or an array of normalized strings
normalizeMagicConst(string|array $name) : string|array
Normalize magic constant name. This is an internal PHPSandbox function.
| string|array | $name | String of the magic constant $name, or array of strings to normalize |
Returns the normalized magic constant string or an array of normalized strings
normalizeNamespace(string|array $name) : string|array
Normalize namespace name. This is an internal PHPSandbox function.
| string|array | $name | String of the namespace $name, or array of strings to normalize |
Returns the normalized namespace string or an array of normalized strings
normalizeAlias(string|array $name) : string|array
Normalize alias name. This is an internal PHPSandbox function.
| string|array | $name | String of the alias $name, or array of strings to normalize |
Returns the normalized alias string or an array of normalized strings
normalizeUse(string|array $name) : string|array
Normalize use (or alias) name. This is an internal PHPSandbox function.
| string|array | $name | String of the use (or alias) $name, or array of strings to normalize |
Returns the normalized use (or alias) string or an array of normalized strings
normalizeInterface(string|array $name) : string|array
Normalize interface name. This is an internal PHPSandbox function.
| string|array | $name | String of the interface $name, or array of strings to normalize |
Returns the normalized interface string or an array of normalized strings
normalizeTrait(string|array $name) : string|array
Normalize trait name. This is an internal PHPSandbox function.
| string|array | $name | String of the trait $name, or array of strings to normalize |
Returns the normalized trait string or an array of normalized strings
normalizeKeyword(string|array $name) : string|array
Normalize keyword name. This is an internal PHPSandbox function.
| string|array | $name | String of the keyword $name, or array of strings to normalize |
Returns the normalized keyword string or an array of normalized strings
normalizeOperator(string|array $name) : string|array
Normalize operator name. This is an internal PHPSandbox function.
| string|array | $name | String of the operator $name, or array of strings to normalize |
Returns the normalized operator string or an array of normalized strings
normalizePrimitive(string|array $name) : string|array
Normalize primitive name. This is an internal PHPSandbox function.
| string|array | $name | String of the primitive $name, or array of strings to normalize |
Returns the normalized primitive string or an array of normalized strings
normalizeType(string|array $name) : string|array
Normalize type name. This is an internal PHPSandbox function.
| string|array | $name | String of the type $name, or array of strings to normalize |
Returns the normalized type string or an array of normalized strings
autoWhitelist(string $code, boolean $appended = false) : mixed
Automatically whitelisted trusted code
| string | $code | String of trusted $code to automatically whitelist |
| boolean | $appended | Flag if this code ir prended or appended (true = appended) |
Throw exception if code cannot be parsed for whitelisting
Return result of error handler if $code could not be parsed


List of Git Repo
New
Repository Name
Catalyst Organization
Repository User/Organization
Repository Type
Repository Branch
Action
* This repository was successfully synchronised and BOTs from this repository are currently available to use.
×
Repository URL:
*
Ex: https://user@service/organization/repository
Repository Name:
*
Description:
Catalyst Organization:
*
Repository User/Organization:
*
Repository Branch:
*
Repository Mode:
Github
Bitbucket
Repository Type:
Public
Private
Authentication Type:
Choose Authentication Type
Username/Password
SSH Key
Token
User Name:
Password:
Public File:
Choose File
Private File:
Choose File
Repository Token:
×
Import BOTs
BOT(s) Name
Repository Name
Action
No Data Found


Balancing act with 3 variations on the link to test whether all 3 work ok in ZIM files. Balancing Act /Balancing Act ./Balancing Act


Equivalent to clicking the Remove All Arrows button on the Auditing toolbar on a worksheet. Clears all tracer arrows on the worksheet.
Syntax
TRACER.CLEAR()
Remark
Returns the #VALUE! error value if not available; for example, the selection is something other than worksheet.
Related Function
TRACER.DISPLAY Allows tracer arrow to be displayed showing relationship among cells
Return to index


{{membershipCtrl.membershipInfo}}
{{membershipCtrl.membershipInclusion}}
{{membershipCtrl.membershipContact}}


{{article.author}}
{{article.publishedAt | date }}
{{article.content}}
published by {{article.source.name }}
full story here
{{article.content}}
full story here


“Kāyena saṁvutā āsiṁ, vācāya uda cetasā; Samūlaṁ taṇhamabbuyha, sītibhūtāmhi nibbutā”ti.
I was restrained in body, speech, and mind. Having plucked out craving root and all, I’m cooled and quenched.
… Uttarā therī ….


--- layout: post title: Nexenta on Slashdot and other updates date: 2008-11-23 16:25:42.000000000 +05:30 categories: - Nexenta - Opensolaris - ubuntu tags: - fossin - hacking - Nexenta - slashdot status: publish type: post published: true meta: _edit_last: '1' author: login: admin email<EMAIL_ADDRESS>display_name: admin first_name: '' last_name: '' ---
It was nice to wake up to a Nexenta story on slashdot. Find the discussion here.
There were some things I wanted to address some comments that were brought up.
Dont call it a Ubuntu derivative; say Debian.
The Nexenta project is an derivative of Ubuntu much the same way as Edubuntu is a derivative.. It uses the same repository and packages (and version numbers), and as such the slogan "Ubuntu userland + Opensolaris kernel".
That does not mean Debian isnt in the picture.. Nexenta is thankful to the project for the amazing work it has done, and the great packaging ecosystem it has created. But Nexenta as such is a direct port of packages in a particular Ubuntu Repository (NCP2 is based on Ubuntu 8.04).
"Proprietary" comments..
Nexenta is fully open source. Enough said.
GUI and the desktop
Refer to my earlier post.
Looks interesting..
Great! Give it a shot on your fileserver.
For more chatting on all things Nexenta join in at #nexenta on freenode or use the web based chat.
----
And now for the "other updates"
[caption id="" align="alignleft" width="125" caption="FOSS.in"][/caption]
I'll be at the FOSS.IN conference, which is the largest FOSS conference in India. It draws people from all around the country, and few from past the borders. This year's conference lies from the 25th to the 29th of this month.
I'm looking forward to interacting with folks, and seeking folks interested in contributing to the project. My plans include conducting hands on sessions (BoFs) for those new to the project, as well as those who understand Debian's packaging system. I'll be there with other members from BOSUG, and will either at the FOSS stalls, or near the Hackcenter area.
If you're nearby, drop in at the conference, and if you are attending, stop by and say Hi. Looking forward to meeting enthusiastic members of FOSS India.


With HSIC Lasso, Yamada et al. (2014) extend the work of Song et al. (2012) so as to avoid selecting multiple redundant features. For this purpose, we solve the following optimization problem:
The first term enforces selected features that are highly dependent on the phenotype; the second term penalizes selecting mutually dependent features; and the third term enforces selecting a small number of features.
Limma is a package for the analysis of gene expression data arising from microarray or RNA-seq technologies. A core capability is the use of linear models to assess differential expression in the context of multifactor designed experiments. Limma provides the ability to analyze comparisons between many RNA targets simultaneously. It has features that make the analyses stable even for experiments with small number of arrays—this is achieved by borrowing information across genes. It is specially designed for analysing complex experiments with a variety of experimental conditions and predictors. The linear model and differential expression functions are applicable to data from any quantitative gene expression technology including microoarrays, RNA-seq and quantitative PCR. Limma can handle both single-channel and two-color microarrays.


{% if include.pdf_numpages == 1 %} {% assign pdf_numpages_string = "1 page" %} {% else %} {% assign pdf_numpages_string = include.pdf_numpages | append: " pages" %} {% endif %} {% if include.pdf_version == "v2" and include.free_pdf_available == true %}
If you're a Patreon supporter, click here to get this PDF
After clicking the button and logging in to Patreon, look for the PDF attached to the bottom of the post.
To learn more about my library of song sheets & instructional PDFs, click here.
Follow along with my print-friendly guide for this song! It's properly licensed and available for individual purchase at Musicnotes.com
It includes my carefully crafted presentation of the lyrics, tabs, chord shapes, and all other info needed to play this song. On the fence? Here's a video guide I made showing the purchase & print process.
Buy at Musicnotes.comPatreon supporters: click here for this month's 50% discount code
As of now, I have not yet made a sheet music arrangement to accompany this video lesson. If you'd like to request that I make one, let me know. I'm constantly adding back-catalog sheet music arrangements based on the songs with the most interest.
Learn more about my sheet music and instructional PDFs.
Supporting me on Patreon gives you access to the PDF for this as well as 200+ other lessons. One month minimum ($5, cancel anytime) gets you access to everything... here's a free sample. Thanks for supporting me and this project!
{% else %}This is one of my few lessons that doesn't have a printable song sheet / PDF available. If you'd like to request I make one, let me know... it's always great to hear which lessons have the most interest.
{% endif %}