Skip to content

Commit b51b3df

Browse files
committed
Comments, Document Updated!
1 parent 39aca67 commit b51b3df

37 files changed

+1261
-875
lines changed

LICENSE

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2013 Roni Saha <roni.cse@gmail.com>
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy of
6+
this software and associated documentation files (the "Software"), to deal in
7+
the Software without restriction, including without limitation the rights to
8+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9+
the Software, and to permit persons to whom the Software is furnished to do so,
10+
subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

bin/app/CixApplication.php

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
<?php
2-
/**
3-
* Created by JetBrains PhpStorm.
4-
* User: Only For Me
5-
* Date: 10/10/13
6-
* Time: 8:17 AM
7-
* To change this template use File | Settings | File Templates.
2+
3+
/*
4+
* This file is part of the CIX package.
5+
*
6+
* (c) Roni Saha <roni.cse@gmail.com>
7+
*
8+
* This source file is subject to the MIT license that is bundled
9+
* with this source code in the file LICENSE.
810
*/
911

1012
use Symfony\Component\Console\Application;

docs/controller.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ Controller implementing Api may looks like follow:
101101
$this->sendResponse(200, json_encode(array('name'=>'Name of user')));
102102
}
103103

104-
public function dump_post(){
104+
public function user_post(){
105105
$this->sendResponse(200, json_encode(array('success'=>true, 'msg'=>'user created')));
106106
}
107107

src/libs/Xiidea/Base/Config.php

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,27 @@
11
<?php
22

3+
/*
4+
* This file is part of the CIX package.
5+
*
6+
* (c) Roni Saha <roni.cse@gmail.com>
7+
*
8+
* This source file is subject to the MIT license that is bundled
9+
* with this source code in the file LICENSE.
10+
*/
11+
312
namespace Xiidea\Base;
413

14+
/**
15+
* CodeIgniter-Extended Config Class
16+
*
17+
* This class contains functions that enable config files to be managed
18+
*
19+
* @package CodeIgniter-Extended
20+
* @subpackage Libraries
21+
* @category Libraries
22+
* @author Roni Saha <roni.cse@gmail.com>
23+
*/
24+
525
class Config extends \CI_Config {
626

727
public function site_url($uri = '')

src/libs/Xiidea/Base/Controller.php

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,31 @@
11
<?php
22

3+
/*
4+
* This file is part of the CIX package.
5+
*
6+
* (c) Roni Saha <roni.cse@gmail.com>
7+
*
8+
* This source file is subject to the MIT license that is bundled
9+
* with this source code in the file LICENSE.
10+
*/
11+
312
namespace Xiidea\Base;
413

514
use Xiidea\Helper\ConfigResolver;
615
use Xiidea\Twig\Dummy;
716
use Xiidea\Twig\Loader;
817

918
/**
19+
* CodeIgniter-Extended Application Controller Class
20+
*
21+
* This class object is the super class that every library in
22+
* CodeIgniter-Extended will be assigned to.
23+
*
24+
* @package CodeIgniter-Extended
25+
* @subpackage Libraries
26+
* @category Libraries
27+
* @author Roni Saha <roni.cse@gmail.com>
28+
*
1029
* @property \CI_DB_active_record $db
1130
* @property \CI_DB_forge $dbforge
1231
* @property \CI_Benchmark $benchmark

src/libs/Xiidea/Base/Lang.php

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,27 @@
11
<?php
22

3+
/*
4+
* This file is part of the CIX package.
5+
*
6+
* (c) Roni Saha <roni.cse@gmail.com>
7+
*
8+
* This source file is subject to the MIT license that is bundled
9+
* with this source code in the file LICENSE.
10+
*/
11+
312
namespace Xiidea\Base;
413

514
use Xiidea\l10n\POMO\MO;
615
use Xiidea\l10n\Translations\NOOP;
716

17+
/**
18+
* Language Class
19+
*
20+
* @package CodeIgniter-Extended
21+
* @subpackage Libraries
22+
* @category Language
23+
* @author Roni Saha <roni.cse@gmail.com>
24+
*/
825
class Lang extends \CI_Lang {
926

1027
protected $languages = array(

src/libs/Xiidea/Base/Loader.php

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,27 @@
11
<?php
22

3-
namespace Xiidea\Base;
3+
/*
4+
* This file is part of the CIX package.
5+
*
6+
* (c) Roni Saha <roni.cse@gmail.com>
7+
*
8+
* This source file is subject to the MIT license that is bundled
9+
* with this source code in the file LICENSE.
10+
*/
411

12+
namespace Xiidea\Base;
13+
/**
14+
* Loader Class
15+
*
16+
* Loads views and files
17+
*
18+
* @package CodeIgniter-Extended
19+
* @subpackage Libraries
20+
* @category Loader
21+
* @author Roni Saha <roni.cse@gmail.com>
22+
*/
523
class Loader extends \CI_Loader
624
{
7-
825
protected $CI;
926

1027
public function __construct()

src/libs/Xiidea/Base/RestFullController.php

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,26 @@
11
<?php
22

3-
namespace Xiidea\Base;
3+
/*
4+
* This file is part of the CIX package.
5+
*
6+
* (c) Roni Saha <roni.cse@gmail.com>
7+
*
8+
* This source file is subject to the MIT license that is bundled
9+
* with this source code in the file LICENSE.
10+
*/
411

12+
namespace Xiidea\Base;
13+
/**
14+
* CodeIgniter-Extended Application Controller Class For RestFull Request
15+
*
16+
* This class object is the super class that every library in
17+
* CodeIgniter-Extended will be assigned to.
18+
*
19+
* @package CodeIgniter-Extended
20+
* @subpackage Libraries
21+
* @category Libraries
22+
* @author Roni Saha <roni.cse@gmail.com>
23+
*/
524
class RestFullController extends Controller
625
{
726

src/libs/Xiidea/Commands/CacheClearCommand.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<?php
22

33
/*
4-
* This file is part of the Symfony package.
4+
* This file is part of the CIX package.
55
*
6-
* (c) Fabien Potencier <fabien@symfony.com>
6+
* (c) Roni Saha <roni.cse@gmail.com>
77
*
8-
* For the full copyright and license information, please view the LICENSE
9-
* file that was distributed with this source code.
8+
* This source file is subject to the MIT license that is bundled
9+
* with this source code in the file LICENSE.
1010
*/
1111

1212
namespace Xiidea\Commands;

src/libs/Xiidea/Commands/ConfigAwareCommand.php

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
<?php
2-
/**
3-
* Created by JetBrains PhpStorm.
4-
* User: Only For Me
5-
* Date: 10/9/13
6-
* Time: 10:48 PM
7-
* To change this template use File | Settings | File Templates.
2+
3+
/*
4+
* This file is part of the CIX package.
5+
*
6+
* (c) Roni Saha <roni.cse@gmail.com>
7+
*
8+
* This source file is subject to the MIT license that is bundled
9+
* with this source code in the file LICENSE.
810
*/
911

1012
namespace Xiidea\Commands;
1113

12-
1314
use Symfony\Component\Console\Command\Command;
1415
use Xiidea\Helper\ConfigResolver;
1516

src/libs/Xiidea/Commands/DumpCommand.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
<?php
22

3+
/*
4+
* This file is part of the CIX package.
5+
*
6+
* (c) Roni Saha <roni.cse@gmail.com>
7+
*
8+
* This source file is subject to the MIT license that is bundled
9+
* with this source code in the file LICENSE.
10+
*/
11+
312
namespace Xiidea\Commands;
413

514
use Assetic\Asset\AssetCollectionInterface;

src/libs/Xiidea/Commands/ProxyController.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
<?php
22

3+
/*
4+
* This file is part of the CIX package.
5+
*
6+
* (c) Roni Saha <roni.cse@gmail.com>
7+
*
8+
* This source file is subject to the MIT license that is bundled
9+
* with this source code in the file LICENSE.
10+
*/
11+
312
namespace Xiidea\Commands;
413

514

src/libs/Xiidea/Helper/ConfigResolver.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
namespace Xiidea\Helper;
44

5-
use Xiidea\Helper\Filesystem;
6-
75
class ConfigResolver
86
{
97
private $version = '1.2.0';
@@ -16,7 +14,6 @@ class ConfigResolver
1614
private $appConfig;
1715
private static $environment;
1816

19-
2017
public function __construct($env = null)
2118
{
2219
self::$environment = $this->getFilteredEnvironment($env);

src/libs/Xiidea/Helper/Filesystem.php

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
<?php
2-
/**
3-
* @Author: Roni Kumar Saha
4-
* Date: 7/17/13
5-
* Time: 10:49 AM
2+
3+
/*
4+
* This file is part of the CIX package.
5+
*
6+
* (c) Roni Saha <roni.cse@gmail.com>
7+
*
8+
* This source file is subject to the MIT license that is bundled
9+
* with this source code in the file LICENSE.
610
*/
711

812
namespace Xiidea\Helper;

src/libs/Xiidea/Helper/JSMinException.php

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
<?php
2-
/**
3-
* Created by JetBrains PhpStorm.
4-
* User: Only For Me
5-
* Date: 7/17/13
6-
* Time: 7:55 PM
7-
* To change this template use File | Settings | File Templates.
2+
3+
/*
4+
* This file is part of the CIX package.
5+
*
6+
* (c) Roni Saha <roni.cse@gmail.com>
7+
*
8+
* This source file is subject to the MIT license that is bundled
9+
* with this source code in the file LICENSE.
810
*/
911

1012
namespace Xiidea\Helper;

src/libs/Xiidea/Helper/SwiftMailer.php

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,25 @@
11
<?php
2-
/**
3-
* @Author: Roni Kumar Saha
4-
* Date: 12/31/12
5-
* Time: 1:01 PM
2+
3+
/*
4+
* This file is part of the CIX package.
5+
*
6+
* (c) Roni Saha <roni.cse@gmail.com>
7+
*
8+
* This source file is subject to the MIT license that is bundled
9+
* with this source code in the file LICENSE.
610
*/
711

812
namespace Xiidea\Helper;
913

14+
/**
15+
* Wrapper Class For Swift_Mailer Library
16+
*
17+
* @package CodeIgniter-Extended
18+
* @subpackage Libraries
19+
* @category Wrapper Libraries
20+
* @author Roni Saha <roni.cse@gmail.com>
21+
*/
22+
1023
class SwiftMailer
1124
{
1225
private $_mailer = NULL;

src/libs/Xiidea/Helper/common.php

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
<?php
2-
/**
3-
* Created by JetBrains PhpStorm.
4-
* User: Roni
5-
* Date: 3/20/12
6-
* Time: 4:20 PM
2+
3+
/*
4+
* This file is part of the CIX package.
5+
*
6+
* (c) Roni Saha <roni.cse@gmail.com>
7+
*
8+
* This source file is subject to the MIT license that is bundled
9+
* with this source code in the file LICENSE.
710
*/
11+
812
function __t($string, $domain = FALSE)
913
{
1014
echo _t($string, $domain);

src/libs/Xiidea/Installer/Manager.php

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
<?php
2-
/**
3-
* @Author: Roni Kumar Saha
4-
* Date: 7/15/13
5-
* Time: 3:41 PM
2+
3+
/*
4+
* This file is part of the CIX package.
5+
*
6+
* (c) Roni Saha <roni.cse@gmail.com>
7+
*
8+
* This source file is subject to the MIT license that is bundled
9+
* with this source code in the file LICENSE.
610
*/
711

812
namespace Xiidea\Installer;

0 commit comments

Comments
 (0)