forked from PHPixie/Project
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
901 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?php | ||
|
||
return array( | ||
'default' => array( | ||
'driver' => 'PDO', | ||
'connection' => '' | ||
) | ||
); |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?php | ||
|
||
return array( | ||
'type' => 'prefix', | ||
'locators' => array( | ||
|
||
//templates locator | ||
'templates' => array( | ||
array( | ||
'type' => 'prefix', | ||
'locators' => array( | ||
|
||
//Mount Hello templates | ||
'hello' => array( | ||
'type' => 'mount', | ||
'name' => 'hello:templates' | ||
), | ||
|
||
) | ||
) | ||
) | ||
//end templates locator | ||
) | ||
); |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?php | ||
|
||
return array( | ||
|
||
); |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?php | ||
|
||
return array( | ||
'translator' => array( | ||
'basePath' => '/' | ||
), | ||
'resolver' => array( | ||
'type' => 'group', | ||
'resolvers' => array( | ||
array( | ||
'type' => 'mount', | ||
'name' => 'app' | ||
) | ||
) | ||
) | ||
); |
Empty file.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?php | ||
|
||
return array( | ||
array( | ||
'type' => 'pattern', | ||
'url' => '(/<processor>(/<action>))', | ||
'defaults' => array( | ||
'processor' => 'hello', | ||
'action' => 'index' | ||
) | ||
) | ||
); |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<?php $this->layout('layout'); ?> | ||
|
||
<?php $this->block('content'); ?> | ||
<h1>Hello</h1> | ||
<?=$_($message)?> | ||
<?php $this->endBlock(); ?> |
Empty file.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?php | ||
|
||
namespace Project; | ||
|
||
class Hello extends \PHPixie\Framework\Bundle\Implementation | ||
{ | ||
public function rootDirectory() | ||
{ | ||
return realpath(__DIR__.'/../../'); | ||
} | ||
} |
Empty file.
Empty file.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?php | ||
|
||
namespace Hello; | ||
|
||
class Processors | ||
{ | ||
protected $http = array('hello'); | ||
|
||
public function hello() | ||
{ | ||
|
||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?php | ||
|
||
class Hello | ||
{ | ||
public function __construct($template) | ||
{ | ||
|
||
} | ||
|
||
public function greet() | ||
{ | ||
$ | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"require": { | ||
"phpixie/framework": "3.*@dev", | ||
"phpixie/debug": "3.*@dev", | ||
"phpixie/router": "3.*@dev", | ||
"phpixie/template": "3.*@dev", | ||
"phpixie/filesystem": "3.*@dev", | ||
"phpixie/database": "3.*@dev", | ||
"phpixie/config": "3.*@dev", | ||
"phpixie/orm": "3.*@dev", | ||
"phpixie/slice": "3.*@dev", | ||
"phpixie/processors": "3.*@dev", | ||
"phpixie/http": "3.*@dev", | ||
"psr/http-message": "1.*@dev", | ||
"phpixie/http-processors": "3.*@dev" | ||
}, | ||
"require-dev": { | ||
"phpixie/test": "3.*@dev" | ||
} | ||
} |
Oops, something went wrong.