This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
echo 'test'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class A { | |
public function test() { | |
$this->abc[] = 'test'; | |
} | |
} | |
class B extends A { | |
public $abc = array('pre-test'); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @task Write a php class Network. | |
* The constructor should take a positive integer value indicating the number of elements in the set. | |
* Passing in an invalid value should throw InvalidArgumentException. | |
* | |
* The class should also provide two public methods, connect and query. | |
* | |
* The first method, connect will take two integers indicating the elements to connect. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @task Write a php class Network. | |
* The constructor should take a positive integer value indicating the number of elements in the set. | |
* Passing in an invalid value should throw InvalidArgumentException. | |
* | |
* The class should also provide two public methods, connect and query. | |
* | |
* The first method, connect will take two integers indicating the elements to connect. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
protected function displayResponse() | |
{ | |
// $this-> | |
// (new EchoFormatApi())->output($this->request, $this->response); | |
$parser = new TemplateNameParser(); | |
$loader = new FilesystemLoader( | |
array( | |
SYS_LAYOUTS_PATH . '/Pages/%name%.php', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
protected function displayResponse() | |
{ | |
// $this-> | |
// (new EchoFormatApi())->output($this->request, $this->response); | |
$parser = new TemplateNameParser(); | |
$loader = new FilesystemLoader( | |
array( | |
SYS_LAYOUTS_PATH . '/Pages/%name%.php', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
asdasdasdasdasdasdasd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Symfony\Component\HttpFoundation\Request; | |
use frontend\model\Initializer; | |
include_once('config.php'); | |
include_once('lib/autoload.php'); | |
include_once('app/bootstrap.php'); | |
$initializer = new Initializer(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
composer require vich/uploader-bundle | |
Using version ^0.14.0 for vich/uploader-bundle | |
./composer.json has been updated | |
Loading composer repositories with package information | |
Updating dependencies (including require-dev) | |
Your requirements could not be resolved to an installable set of packages. | |
Problem 1 | |
- Conclusion: don't install symfony/symfony v3.0.1 | |
- Installation request for vich/uploader-bundle ^0.14.0 -> satisfiable by vich/uploader-bundle[v0.14.0]. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function onresize(event) { | |
//canvas.width=document.documentElement.clientWidth | |
o.resizelist[1].x = o.resizelist[3].x = document.documentElement.clientWidth-1; | |
o.resizelist[2].x = 2; | |
var main_width = 980; | |
if (document.documentElement.clientWidth > main_width) { | |
o.resizelist[0].x = o.resizelist[4].x = document.documentElement.clientWidth / 2; | |
} else { |
OlderNewer