Spork Code Libraries

spork/src/Test/TestCase/TestCaseService.php 1

Type Line Description
74 $this->services->clean();

spork/src/Test/TestCase/TestCaseDb.php 7

Type Line Description
136 } else {
137 if (preg_match('"^\s*CREATE\s*(TEMPORARY)?\s*TABLE\s*(IF\s*NOT\s*EXISTS)?\s*`?(\w+)`?\s"i',
138 $createTable, $matches)) {
139 $createTable = "DROP TABLE IF EXISTS `{$matches[3]}`; \n" . $createTable;
140 } else {
141 throw new \Exception("Cannot parse create table statement");
142 }

spork/src/Test/TestCase/TestCaseView.php 1

Type Line Description
69 force view to return output instead of triggering response event

spork/src/Mvc/Listener/AccessDeniedStrategy.php 3

Type Line Description
64 check for 403 at beginning of route and dispatch events
70 check for 403 immediately after controller dispatch
77 inject access denied view model

sporktools/core/src/Controller/LogController.php 9

Type Line Description
38 $messageRow = array()
39 $columns = array();
40 foreach ($config->get('columns'))
41 $columns = $config->get('columns', new Config(array(
42 'timestamp' => 'Date Time',
43 'priorityName' => 'Priority',
44 )))->toArray();
50 $sort = array('property' => $property, 'descending' => $descending);
TODO 17 implement as Spork RestfulTableController

spork/src/View/Helper/CSS/Less.php 1

Type Line Description
11 lesscss.org/) scripts into inline style sheets

spork/src/Test/TestCase/TestCaseController.php 10

Type Line Description
91 if ($controller instanceof AbstractController) {
92 $controllerName = get_class($controller);
93 } else {
94 $controllerName = $controller;
95 $controllerLoader = $serviceManager->get('controllerLoader');
96 $controller = $controllerLoader->get($controller);
97 }
107 $controller->setEvent($event);
121 return $controller->dispatch($request, $response);
364 $this->getRequest()->setMethod(Request::METHOD_POST);

spork/src/View/Helper/CSS/Stylus.php 1

Type Line Description
11 learnboost.github.io/stylus/) scripts into inline

sporktools/core/src/Job/Manager.php 1

Type Line Description
64 $serviceManager = $this->getServiceManager();

sporktools/core/config/navigation.config.php 2

Type Line Description
18 'uri' => '#',
37 'uri' => '#',

spork/src/CSS/UpdateListener.php 30

Type Line Description
30 protected $include;
44 import options from application configuration
57 check properties
109 $compressReset = null;
110 if (isset($build['compress'])) {
111 $compressReset = $this->compiler->getCompress();
112 $this->compiler->setCompress($build['compress']);
113 }
114 $this->compiler->compile($build['source'], $build['destination'], $build['includes']);
115 if (null !== $compressReset) {
116 $this->compiler->setCompress($compressReset);
117 }
167 public function getInclude()
168 {
169 return $this->include;
170 }
172 public function setInclude($include)
173 {
174 $this->include = $include;
175 }
187 case 'include':
188 $this->setInclude($include);
189 break;
246 $oldest = time();
247 foreach ($destinationFiles as $file) {
248 $modified = $file->getMTime();
249 if ($modified < $oldest) {
250 $oldest = $modified;
251 }
252 }

spork/src/Validator/AuthAdapter.php 2

Type Line Description
155 $this->error(self::IDENTITY_EMPTY);
160 $this->error(self::CREDENTIAL_EMPTY);

spork/src/View/Helper/Dojo.php 1

Type Line Description
94 ajax.googleapis.com/ajax/libs/dojo/1.10.4/dojo/dojo.js';

sporktools/core/src/Controller/JobController.php 1

Type Line Description
98 save report it possible

spork/src/View/Renderer/Icalendar.php 1

Type Line Description
185 SporkCode//Spork//iCalendar//EN';

spork/src/Mvc/Controller/AbstractRestfulTableController.php 1

Type Line Description
75 $result = $table->selectWith($select);

spork/src/View/Helper/GoogleAnalytic.php 1

Type Line Description
109 www.google-analytics.com/analytics.js','ga');

spork/src/CSS/Stylus.php 1

Type Line Description
12 learnboost.github.io/stylus/)

spork/src/Mvc/Listener/EmailVerificationStrategy.php 7

Type Line Description
70 if (empty($config['routeParams'])) {
71 throw new \Exception(sprintf(
72 "Route parameters missing. Add \"array('%s' => array('routeParams' => array(PARAMETERS)))\" to your configuration",
73 self::CONFIG_KEY));
74 }
95 $routeMatch = new RouteMatch($config['routeParams']);
96 $event->setRouteMatch($routeMatch);

spork/src/CSS/Less.php 1

Type Line Description
12 lesscss.org/)

sporktools/core/src/Job/Feature/ReportLogTable.php 1

Type Line Description
191 $results = $this->db->query($select->getSqlString($this->db->getPlatform()), Adapter::QUERY_MODE_EXECUTE);

spork/src/CSS/Sass.php 1

Type Line Description
12 sass-lang.com/)

spork/src/View/Helper/CSS/Sass.php 1

Type Line Description
11 sass-lang.com/) scripts into inline style sheets

sporktools/core/view/spork-tools/job/time.phtml 5

Type Line Description
80 init misc.
86 init tabs
98 Input widgets
120 Update functions
172 Event bindings