jobCOntroller

This commit is contained in:
Martin Müller 2014-03-02 12:14:02 +01:00
parent d262cc06a6
commit e6f2aa7144
31 changed files with 6 additions and 1171 deletions

View File

@ -31,7 +31,9 @@ App::uses('Controller', 'Controller');
* @link http://book.cakephp.org/2.0/en/controllers.html#the-app-controller
*/
class AppController extends Controller {
public $components = array('Security','MiconwareSession');
function beforeFilter(){
parent::beforeFilter();
}

View File

@ -9,7 +9,7 @@ class HomeController extends AppController {
*
* @var array
*/
public $components = array('Security','MiconwareSession');
public $uses = array();
/**

View File

@ -9,7 +9,7 @@ class JobController extends AppController {
*
* @var array
*/
public $components = array('Security','MiconwareSession');
public $uses = array('DreamjobJobOpening','DreamjobJobFavority','DreamjobJobApplication');
/**

View File

@ -9,7 +9,7 @@ class UserController extends AppController {
*
* @var array
*/
public $components = array('Security','MiconwareSession');
public $uses = array('DreamjobListGraducation','DreamjobWorker','DreamjobCompany','DreamjobPageText','DreamjobPageImage','DreamjobJobOpening');
/**

View File

@ -1,19 +0,0 @@
<?php
App::uses('MicSysMannerofaddrsController', 'Controller');
/**
* MicSysMannerofaddrsController Test Case
*
*/
class MicSysMannerofaddrsControllerTest extends ControllerTestCase {
/**
* Fixtures
*
* @var array
*/
public $fixtures = array(
'app.mic_sys_mannerofaddr'
);
}

View File

@ -1,20 +0,0 @@
<?php
App::uses('MicSysMicaccsController', 'Controller');
/**
* MicSysMicaccsController Test Case
*
*/
class MicSysMicaccsControllerTest extends ControllerTestCase {
/**
* Fixtures
*
* @var array
*/
public $fixtures = array(
'app.mic_sys_micacc',
'app.mannerofaddress'
);
}

View File

@ -1,21 +0,0 @@
<?php
App::uses('MicSysMicappsController', 'Controller');
/**
* MicSysMicappsController Test Case
*
*/
class MicSysMicappsControllerTest extends ControllerTestCase {
/**
* Fixtures
*
* @var array
*/
public $fixtures = array(
'app.mic_sys_micapp',
'app.user',
'app.mannerofaddress'
);
}

View File

@ -1,40 +0,0 @@
<?php
App::uses('MicDjAccountAcc', 'Model');
/**
* MicDjAccountAcc Test Case
*
*/
class MicDjAccountAccTest extends CakeTestCase {
/**
* Fixtures
*
* @var array
*/
public $fixtures = array(
'app.mic_dj_account_acc'
);
/**
* setUp method
*
* @return void
*/
public function setUp() {
parent::setUp();
$this->MicDjAccountAcc = ClassRegistry::init('MicDjAccountAcc');
}
/**
* tearDown method
*
* @return void
*/
public function tearDown() {
unset($this->MicDjAccountAcc);
parent::tearDown();
}
}

View File

@ -1,41 +0,0 @@
<?php
App::uses('MicDjAccountCmpy', 'Model');
/**
* MicDjAccountCmpy Test Case
*
*/
class MicDjAccountCmpyTest extends CakeTestCase {
/**
* Fixtures
*
* @var array
*/
public $fixtures = array(
'app.mic_dj_account_cmpy',
'app.djaccount_ptr'
);
/**
* setUp method
*
* @return void
*/
public function setUp() {
parent::setUp();
$this->MicDjAccountCmpy = ClassRegistry::init('MicDjAccountCmpy');
}
/**
* tearDown method
*
* @return void
*/
public function tearDown() {
unset($this->MicDjAccountCmpy);
parent::tearDown();
}
}

View File

@ -1,42 +0,0 @@
<?php
App::uses('MicDjAccountWrk', 'Model');
/**
* MicDjAccountWrk Test Case
*
*/
class MicDjAccountWrkTest extends CakeTestCase {
/**
* Fixtures
*
* @var array
*/
public $fixtures = array(
'app.mic_dj_account_wrk',
'app.djaccount_ptr',
'app.graducation'
);
/**
* setUp method
*
* @return void
*/
public function setUp() {
parent::setUp();
$this->MicDjAccountWrk = ClassRegistry::init('MicDjAccountWrk');
}
/**
* tearDown method
*
* @return void
*/
public function tearDown() {
unset($this->MicDjAccountWrk);
parent::tearDown();
}
}

View File

@ -1,42 +0,0 @@
<?php
App::uses('MicDjJobsApplication', 'Model');
/**
* MicDjJobsApplication Test Case
*
*/
class MicDjJobsApplicationTest extends CakeTestCase {
/**
* Fixtures
*
* @var array
*/
public $fixtures = array(
'app.mic_dj_jobs_application',
'app.worker',
'app.opening'
);
/**
* setUp method
*
* @return void
*/
public function setUp() {
parent::setUp();
$this->MicDjJobsApplication = ClassRegistry::init('MicDjJobsApplication');
}
/**
* tearDown method
*
* @return void
*/
public function tearDown() {
unset($this->MicDjJobsApplication);
parent::tearDown();
}
}

View File

@ -1,43 +0,0 @@
<?php
App::uses('MicDjJobsOpening', 'Model');
/**
* MicDjJobsOpening Test Case
*
*/
class MicDjJobsOpeningTest extends CakeTestCase {
/**
* Fixtures
*
* @var array
*/
public $fixtures = array(
'app.mic_dj_jobs_opening',
'app.company',
'app.graducation',
'app.kindofjob'
);
/**
* setUp method
*
* @return void
*/
public function setUp() {
parent::setUp();
$this->MicDjJobsOpening = ClassRegistry::init('MicDjJobsOpening');
}
/**
* tearDown method
*
* @return void
*/
public function tearDown() {
unset($this->MicDjJobsOpening);
parent::tearDown();
}
}

View File

@ -1,40 +0,0 @@
<?php
App::uses('MicDjListGraducation', 'Model');
/**
* MicDjListGraducation Test Case
*
*/
class MicDjListGraducationTest extends CakeTestCase {
/**
* Fixtures
*
* @var array
*/
public $fixtures = array(
'app.mic_dj_list_graducation'
);
/**
* setUp method
*
* @return void
*/
public function setUp() {
parent::setUp();
$this->MicDjListGraducation = ClassRegistry::init('MicDjListGraducation');
}
/**
* tearDown method
*
* @return void
*/
public function tearDown() {
unset($this->MicDjListGraducation);
parent::tearDown();
}
}

View File

@ -1,41 +0,0 @@
<?php
App::uses('MicDjPageImage', 'Model');
/**
* MicDjPageImage Test Case
*
*/
class MicDjPageImageTest extends CakeTestCase {
/**
* Fixtures
*
* @var array
*/
public $fixtures = array(
'app.mic_dj_page_image',
'app.page_ptr'
);
/**
* setUp method
*
* @return void
*/
public function setUp() {
parent::setUp();
$this->MicDjPageImage = ClassRegistry::init('MicDjPageImage');
}
/**
* tearDown method
*
* @return void
*/
public function tearDown() {
unset($this->MicDjPageImage);
parent::tearDown();
}
}

View File

@ -1,40 +0,0 @@
<?php
App::uses('MicDjPageInh', 'Model');
/**
* MicDjPageInh Test Case
*
*/
class MicDjPageInhTest extends CakeTestCase {
/**
* Fixtures
*
* @var array
*/
public $fixtures = array(
'app.mic_dj_page_inh'
);
/**
* setUp method
*
* @return void
*/
public function setUp() {
parent::setUp();
$this->MicDjPageInh = ClassRegistry::init('MicDjPageInh');
}
/**
* tearDown method
*
* @return void
*/
public function tearDown() {
unset($this->MicDjPageInh);
parent::tearDown();
}
}

View File

@ -1,41 +0,0 @@
<?php
App::uses('MicDjPageTxt', 'Model');
/**
* MicDjPageTxt Test Case
*
*/
class MicDjPageTxtTest extends CakeTestCase {
/**
* Fixtures
*
* @var array
*/
public $fixtures = array(
'app.mic_dj_page_txt',
'app.page_ptr'
);
/**
* setUp method
*
* @return void
*/
public function setUp() {
parent::setUp();
$this->MicDjPageTxt = ClassRegistry::init('MicDjPageTxt');
}
/**
* tearDown method
*
* @return void
*/
public function tearDown() {
unset($this->MicDjPageTxt);
parent::tearDown();
}
}

View File

@ -1,40 +0,0 @@
<?php
App::uses('MicSysMannerofaddr', 'Model');
/**
* MicSysMannerofaddr Test Case
*
*/
class MicSysMannerofaddrTest extends CakeTestCase {
/**
* Fixtures
*
* @var array
*/
public $fixtures = array(
'app.mic_sys_mannerofaddr'
);
/**
* setUp method
*
* @return void
*/
public function setUp() {
parent::setUp();
$this->MicSysMannerofaddr = ClassRegistry::init('MicSysMannerofaddr');
}
/**
* tearDown method
*
* @return void
*/
public function tearDown() {
unset($this->MicSysMannerofaddr);
parent::tearDown();
}
}

View File

@ -1,41 +0,0 @@
<?php
App::uses('MicSysMicacc', 'Model');
/**
* MicSysMicacc Test Case
*
*/
class MicSysMicaccTest extends CakeTestCase {
/**
* Fixtures
*
* @var array
*/
public $fixtures = array(
'app.mic_sys_micacc',
'app.mannerofaddress'
);
/**
* setUp method
*
* @return void
*/
public function setUp() {
parent::setUp();
$this->MicSysMicacc = ClassRegistry::init('MicSysMicacc');
}
/**
* tearDown method
*
* @return void
*/
public function tearDown() {
unset($this->MicSysMicacc);
parent::tearDown();
}
}

View File

@ -1,42 +0,0 @@
<?php
App::uses('MicSysMicapp', 'Model');
/**
* MicSysMicapp Test Case
*
*/
class MicSysMicappTest extends CakeTestCase {
/**
* Fixtures
*
* @var array
*/
public $fixtures = array(
'app.mic_sys_micapp',
'app.user',
'app.mannerofaddress'
);
/**
* setUp method
*
* @return void
*/
public function setUp() {
parent::setUp();
$this->MicSysMicapp = ClassRegistry::init('MicSysMicapp');
}
/**
* tearDown method
*
* @return void
*/
public function tearDown() {
unset($this->MicSysMicapp);
parent::tearDown();
}
}

View File

@ -1,45 +0,0 @@
<?php
/**
* MicDjAccountAccFixture
*
*/
class MicDjAccountAccFixture extends CakeTestFixture {
/**
* Table name
*
* @var string
*/
public $table = 'mic_dj_account_acc';
/**
* Fields
*
* @var array
*/
public $fields = array(
'micapplication_ptr_id' => array('type' => 'integer', 'null' => false, 'default' => null, 'key' => 'primary'),
'street' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 100, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
'city' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 100, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
'postcode' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 100, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
'indexes' => array(
'PRIMARY' => array('column' => 'micapplication_ptr_id', 'unique' => 1)
),
'tableParameters' => array('charset' => 'utf8', 'collate' => 'utf8_general_ci', 'engine' => 'InnoDB')
);
/**
* Records
*
* @var array
*/
public $records = array(
array(
'micapplication_ptr_id' => 1,
'street' => 'Lorem ipsum dolor sit amet',
'city' => 'Lorem ipsum dolor sit amet',
'postcode' => 'Lorem ipsum dolor sit amet'
),
);
}

View File

@ -1,53 +0,0 @@
<?php
/**
* MicDjAccountCmpyFixture
*
*/
class MicDjAccountCmpyFixture extends CakeTestFixture {
/**
* Table name
*
* @var string
*/
public $table = 'mic_dj_account_cmpy';
/**
* Fields
*
* @var array
*/
public $fields = array(
'djaccount_ptr_id' => array('type' => 'integer', 'null' => false, 'default' => null, 'key' => 'primary'),
'corporateform' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 30, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
'owner' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 100, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
'branch' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 100, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
'headcount' => array('type' => 'integer', 'null' => true, 'default' => null, 'length' => 6),
'bank_details' => array('type' => 'string', 'null' => true, 'default' => null, 'length' => 100, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
'website' => array('type' => 'string', 'null' => true, 'default' => null, 'length' => 200, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
'css' => array('type' => 'string', 'null' => true, 'default' => null, 'length' => 200, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
'indexes' => array(
'PRIMARY' => array('column' => 'djaccount_ptr_id', 'unique' => 1)
),
'tableParameters' => array('charset' => 'utf8', 'collate' => 'utf8_general_ci', 'engine' => 'InnoDB')
);
/**
* Records
*
* @var array
*/
public $records = array(
array(
'djaccount_ptr_id' => 1,
'corporateform' => 'Lorem ipsum dolor sit amet',
'owner' => 'Lorem ipsum dolor sit amet',
'branch' => 'Lorem ipsum dolor sit amet',
'headcount' => 1,
'bank_details' => 'Lorem ipsum dolor sit amet',
'website' => 'Lorem ipsum dolor sit amet',
'css' => 'Lorem ipsum dolor sit amet'
),
);
}

View File

@ -1,54 +0,0 @@
<?php
/**
* MicDjAccountWrkFixture
*
*/
class MicDjAccountWrkFixture extends CakeTestFixture {
/**
* Table name
*
* @var string
*/
public $table = 'mic_dj_account_wrk';
/**
* Fields
*
* @var array
*/
public $fields = array(
'djaccount_ptr_id' => array('type' => 'integer', 'null' => false, 'default' => null, 'key' => 'primary'),
'graducation_id' => array('type' => 'integer', 'null' => true, 'default' => null, 'key' => 'index'),
'workexperience' => array('type' => 'integer', 'null' => true, 'default' => null, 'length' => 6),
'searchhidden' => array('type' => 'boolean', 'null' => false, 'default' => null),
'advertising' => array('type' => 'boolean', 'null' => false, 'default' => null),
'leadership_ability' => array('type' => 'boolean', 'null' => false, 'default' => null),
'country' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 100, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
'iam' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 300, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
'indexes' => array(
'PRIMARY' => array('column' => 'djaccount_ptr_id', 'unique' => 1),
'mic_dj_account_wrk_b05158b4' => array('column' => 'graducation_id', 'unique' => 0)
),
'tableParameters' => array('charset' => 'utf8', 'collate' => 'utf8_general_ci', 'engine' => 'InnoDB')
);
/**
* Records
*
* @var array
*/
public $records = array(
array(
'djaccount_ptr_id' => 1,
'graducation_id' => 1,
'workexperience' => 1,
'searchhidden' => 1,
'advertising' => 1,
'leadership_ability' => 1,
'country' => 'Lorem ipsum dolor sit amet',
'iam' => 'Lorem ipsum dolor sit amet'
),
);
}

View File

@ -1,58 +0,0 @@
<?php
/**
* MicDjJobsApplicationFixture
*
*/
class MicDjJobsApplicationFixture extends CakeTestFixture {
/**
* Table name
*
* @var string
*/
public $table = 'mic_dj_jobs_application';
/**
* Fields
*
* @var array
*/
public $fields = array(
'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'key' => 'primary'),
'stars' => array('type' => 'integer', 'null' => false, 'default' => null),
'closed' => array('type' => 'boolean', 'null' => false, 'default' => null),
'offered' => array('type' => 'boolean', 'null' => false, 'default' => null),
'saw' => array('type' => 'boolean', 'null' => false, 'default' => null),
'created' => array('type' => 'datetime', 'null' => false, 'default' => null),
'worker_id' => array('type' => 'integer', 'null' => false, 'default' => null, 'key' => 'index'),
'opening_id' => array('type' => 'integer', 'null' => false, 'default' => null, 'key' => 'index'),
'text' => array('type' => 'text', 'null' => false, 'default' => null, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
'indexes' => array(
'PRIMARY' => array('column' => 'id', 'unique' => 1),
'worker_id' => array('column' => array('worker_id', 'opening_id'), 'unique' => 1),
'mic_dj_jobs_application_20fc5b84' => array('column' => 'worker_id', 'unique' => 0),
'mic_dj_jobs_application_5986cc59' => array('column' => 'opening_id', 'unique' => 0)
),
'tableParameters' => array('charset' => 'utf8', 'collate' => 'utf8_general_ci', 'engine' => 'InnoDB')
);
/**
* Records
*
* @var array
*/
public $records = array(
array(
'id' => 1,
'stars' => 1,
'closed' => 1,
'offered' => 1,
'saw' => 1,
'created' => '2014-03-02 10:54:45',
'worker_id' => 1,
'opening_id' => 1,
'text' => 'Lorem ipsum dolor sit amet, aliquet feugiat. Convallis morbi fringilla gravida, phasellus feugiat dapibus velit nunc, pulvinar eget sollicitudin venenatis cum nullam, vivamus ut a sed, mollitia lectus. Nulla vestibulum massa neque ut et, id hendrerit sit, feugiat in taciti enim proin nibh, tempor dignissim, rhoncus duis vestibulum nunc mattis convallis.'
),
);
}

View File

@ -1,66 +0,0 @@
<?php
/**
* MicDjJobsOpeningFixture
*
*/
class MicDjJobsOpeningFixture extends CakeTestFixture {
/**
* Table name
*
* @var string
*/
public $table = 'mic_dj_jobs_opening';
/**
* Fields
*
* @var array
*/
public $fields = array(
'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'key' => 'primary'),
'street' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 100, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
'city' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 100, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
'postcode' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 100, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
'title' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 100, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
'company_id' => array('type' => 'integer', 'null' => false, 'default' => null, 'key' => 'index'),
'graducation_id' => array('type' => 'integer', 'null' => true, 'default' => null, 'key' => 'index'),
'branch' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 100, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
'kindofjob_id' => array('type' => 'integer', 'null' => false, 'default' => null, 'key' => 'index'),
'startdate' => array('type' => 'date', 'null' => false, 'default' => null),
'enddate' => array('type' => 'date', 'null' => true, 'default' => null),
'active' => array('type' => 'boolean', 'null' => false, 'default' => null),
'text' => array('type' => 'text', 'null' => false, 'default' => null, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
'indexes' => array(
'PRIMARY' => array('column' => 'id', 'unique' => 1),
'mic_dj_jobs_opening_543518c6' => array('column' => 'company_id', 'unique' => 0),
'mic_dj_jobs_opening_b05158b4' => array('column' => 'graducation_id', 'unique' => 0),
'mic_dj_jobs_opening_840a080f' => array('column' => 'kindofjob_id', 'unique' => 0)
),
'tableParameters' => array('charset' => 'utf8', 'collate' => 'utf8_general_ci', 'engine' => 'InnoDB')
);
/**
* Records
*
* @var array
*/
public $records = array(
array(
'id' => 1,
'street' => 'Lorem ipsum dolor sit amet',
'city' => 'Lorem ipsum dolor sit amet',
'postcode' => 'Lorem ipsum dolor sit amet',
'title' => 'Lorem ipsum dolor sit amet',
'company_id' => 1,
'graducation_id' => 1,
'branch' => 'Lorem ipsum dolor sit amet',
'kindofjob_id' => 1,
'startdate' => '2014-02-15',
'enddate' => '2014-02-15',
'active' => 1,
'text' => 'Lorem ipsum dolor sit amet, aliquet feugiat. Convallis morbi fringilla gravida, phasellus feugiat dapibus velit nunc, pulvinar eget sollicitudin venenatis cum nullam, vivamus ut a sed, mollitia lectus. Nulla vestibulum massa neque ut et, id hendrerit sit, feugiat in taciti enim proin nibh, tempor dignissim, rhoncus duis vestibulum nunc mattis convallis.'
),
);
}

View File

@ -1,41 +0,0 @@
<?php
/**
* MicDjListGraducationFixture
*
*/
class MicDjListGraducationFixture extends CakeTestFixture {
/**
* Table name
*
* @var string
*/
public $table = 'mic_dj_list_graducation';
/**
* Fields
*
* @var array
*/
public $fields = array(
'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'key' => 'primary'),
'name' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 100, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
'indexes' => array(
'PRIMARY' => array('column' => 'id', 'unique' => 1)
),
'tableParameters' => array('charset' => 'utf8', 'collate' => 'utf8_general_ci', 'engine' => 'InnoDB')
);
/**
* Records
*
* @var array
*/
public $records = array(
array(
'id' => 1,
'name' => 'Lorem ipsum dolor sit amet'
),
);
}

View File

@ -1,41 +0,0 @@
<?php
/**
* MicDjPageImageFixture
*
*/
class MicDjPageImageFixture extends CakeTestFixture {
/**
* Table name
*
* @var string
*/
public $table = 'mic_dj_page_image';
/**
* Fields
*
* @var array
*/
public $fields = array(
'page_ptr_id' => array('type' => 'integer', 'null' => false, 'default' => null, 'key' => 'primary'),
'image' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 100, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
'indexes' => array(
'PRIMARY' => array('column' => 'page_ptr_id', 'unique' => 1)
),
'tableParameters' => array('charset' => 'utf8', 'collate' => 'utf8_general_ci', 'engine' => 'InnoDB')
);
/**
* Records
*
* @var array
*/
public $records = array(
array(
'page_ptr_id' => 1,
'image' => 'Lorem ipsum dolor sit amet'
),
);
}

View File

@ -1,46 +0,0 @@
<?php
/**
* MicDjPageInhFixture
*
*/
class MicDjPageInhFixture extends CakeTestFixture {
/**
* Table name
*
* @var string
*/
public $table = 'mic_dj_page_inh';
/**
* Fields
*
* @var array
*/
public $fields = array(
'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'key' => 'primary'),
'user_id' => array('type' => 'integer', 'null' => false, 'default' => null, 'key' => 'index'),
'title' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 100, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
'position' => array('type' => 'integer', 'null' => false, 'default' => null, 'length' => 6),
'indexes' => array(
'PRIMARY' => array('column' => 'id', 'unique' => 1),
'mic_dj_page_inh_fbfc09f1' => array('column' => 'user_id', 'unique' => 0)
),
'tableParameters' => array('charset' => 'utf8', 'collate' => 'utf8_general_ci', 'engine' => 'InnoDB')
);
/**
* Records
*
* @var array
*/
public $records = array(
array(
'id' => 1,
'user_id' => 1,
'title' => 'Lorem ipsum dolor sit amet',
'position' => 1
),
);
}

View File

@ -1,41 +0,0 @@
<?php
/**
* MicDjPageTxtFixture
*
*/
class MicDjPageTxtFixture extends CakeTestFixture {
/**
* Table name
*
* @var string
*/
public $table = 'mic_dj_page_txt';
/**
* Fields
*
* @var array
*/
public $fields = array(
'page_ptr_id' => array('type' => 'integer', 'null' => false, 'default' => null, 'key' => 'primary'),
'text' => array('type' => 'text', 'null' => false, 'default' => null, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
'indexes' => array(
'PRIMARY' => array('column' => 'page_ptr_id', 'unique' => 1)
),
'tableParameters' => array('charset' => 'utf8', 'collate' => 'utf8_general_ci', 'engine' => 'InnoDB')
);
/**
* Records
*
* @var array
*/
public $records = array(
array(
'page_ptr_id' => 1,
'text' => 'Lorem ipsum dolor sit amet, aliquet feugiat. Convallis morbi fringilla gravida, phasellus feugiat dapibus velit nunc, pulvinar eget sollicitudin venenatis cum nullam, vivamus ut a sed, mollitia lectus. Nulla vestibulum massa neque ut et, id hendrerit sit, feugiat in taciti enim proin nibh, tempor dignissim, rhoncus duis vestibulum nunc mattis convallis.'
),
);
}

View File

@ -1,41 +0,0 @@
<?php
/**
* MicSysMannerofaddrFixture
*
*/
class MicSysMannerofaddrFixture extends CakeTestFixture {
/**
* Table name
*
* @var string
*/
public $table = 'mic_sys_mannerofaddr';
/**
* Fields
*
* @var array
*/
public $fields = array(
'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'key' => 'primary'),
'name' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 100, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
'indexes' => array(
'PRIMARY' => array('column' => 'id', 'unique' => 1)
),
'tableParameters' => array('charset' => 'utf8', 'collate' => 'utf8_general_ci', 'engine' => 'InnoDB')
);
/**
* Records
*
* @var array
*/
public $records = array(
array(
'id' => 1,
'name' => 'Lorem ipsum dolor sit amet'
),
);
}

View File

@ -1,71 +0,0 @@
<?php
/**
* MicSysMicaccFixture
*
*/
class MicSysMicaccFixture extends CakeTestFixture {
/**
* Table name
*
* @var string
*/
public $table = 'mic_sys_micacc';
/**
* Fields
*
* @var array
*/
public $fields = array(
'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'key' => 'primary'),
'first_name' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 30, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
'last_name' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 30, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
'is_staff' => array('type' => 'boolean', 'null' => false, 'default' => null),
'is_active' => array('type' => 'boolean', 'null' => false, 'default' => null),
'is_superuser' => array('type' => 'boolean', 'null' => false, 'default' => null),
'last_login' => array('type' => 'datetime', 'null' => true, 'default' => null),
'date_joined' => array('type' => 'datetime', 'null' => true, 'default' => null),
'password' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 128, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
'mail' => array('type' => 'string', 'null' => false, 'default' => null, 'length' => 75, 'key' => 'unique', 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
'code' => array('type' => 'string', 'null' => false, 'default' => null, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
'mannerofaddress_id' => array('type' => 'integer', 'null' => true, 'default' => null, 'key' => 'index'),
'avatar' => array('type' => 'string', 'null' => true, 'default' => null, 'length' => 100, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
'nickname' => array('type' => 'string', 'null' => true, 'default' => null, 'length' => 100, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
'bday' => array('type' => 'date', 'null' => true, 'default' => null),
'comment' => array('type' => 'string', 'null' => false, 'default' => null, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
'indexes' => array(
'PRIMARY' => array('column' => 'id', 'unique' => 1),
'mail' => array('column' => 'mail', 'unique' => 1),
'mic_sys_micacc_6bef5955' => array('column' => 'mannerofaddress_id', 'unique' => 0)
),
'tableParameters' => array('charset' => 'utf8', 'collate' => 'utf8_general_ci', 'engine' => 'InnoDB')
);
/**
* Records
*
* @var array
*/
public $records = array(
array(
'id' => 1,
'first_name' => 'Lorem ipsum dolor sit amet',
'last_name' => 'Lorem ipsum dolor sit amet',
'is_staff' => 1,
'is_active' => 1,
'is_superuser' => 1,
'last_login' => '2014-01-26 13:53:30',
'date_joined' => '2014-01-26 13:53:30',
'password' => 'Lorem ipsum dolor sit amet',
'mail' => 'Lorem ipsum dolor sit amet',
'code' => 'Lorem ipsum dolor sit amet',
'mannerofaddress_id' => 1,
'avatar' => 'Lorem ipsum dolor sit amet',
'nickname' => 'Lorem ipsum dolor sit amet',
'bday' => '2014-01-26',
'comment' => 'Lorem ipsum dolor sit amet'
),
);
}

View File

@ -1,57 +0,0 @@
<?php
/**
* MicSysMicappFixture
*
*/
class MicSysMicappFixture extends CakeTestFixture {
/**
* Table name
*
* @var string
*/
public $table = 'mic_sys_micapp';
/**
* Fields
*
* @var array
*/
public $fields = array(
'id' => array('type' => 'integer', 'null' => false, 'default' => null, 'key' => 'primary'),
'user_id' => array('type' => 'integer', 'null' => false, 'default' => null, 'key' => 'index'),
'take_systemwide' => array('type' => 'boolean', 'null' => false, 'default' => null),
'avatar' => array('type' => 'string', 'null' => true, 'default' => null, 'length' => 100, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
'nickname' => array('type' => 'string', 'null' => true, 'default' => null, 'length' => 100, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
'mannerofaddress_id' => array('type' => 'integer', 'null' => true, 'default' => null, 'key' => 'index'),
'first_name' => array('type' => 'string', 'null' => true, 'default' => null, 'length' => 100, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
'last_name' => array('type' => 'string', 'null' => true, 'default' => null, 'length' => 100, 'collate' => 'utf8_general_ci', 'charset' => 'utf8'),
'bday' => array('type' => 'date', 'null' => true, 'default' => null),
'indexes' => array(
'PRIMARY' => array('column' => 'id', 'unique' => 1),
'mic_sys_micapp_fbfc09f1' => array('column' => 'user_id', 'unique' => 0),
'mic_sys_micapp_6bef5955' => array('column' => 'mannerofaddress_id', 'unique' => 0)
),
'tableParameters' => array('charset' => 'utf8', 'collate' => 'utf8_general_ci', 'engine' => 'InnoDB')
);
/**
* Records
*
* @var array
*/
public $records = array(
array(
'id' => 1,
'user_id' => 1,
'take_systemwide' => 1,
'avatar' => 'Lorem ipsum dolor sit amet',
'nickname' => 'Lorem ipsum dolor sit amet',
'mannerofaddress_id' => 1,
'first_name' => 'Lorem ipsum dolor sit amet',
'last_name' => 'Lorem ipsum dolor sit amet',
'bday' => '2014-01-26'
),
);
}