-
Notifications
You must be signed in to change notification settings - Fork 11
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
30 changed files
with
1,625 additions
and
87 deletions.
There are no files selected for viewing
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 @@ | ||
Deny from all |
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 @@ | ||
Deny from all |
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,49 @@ | ||
|
||
-- | ||
--2015-05-06 09:46:17 | ||
-- | ||
ALTER TABLE sb_content CHANGE `text` `text_one` longtext NULL COMMENT 'Text' | ||
-- | ||
--2015-05-06 09:47:49 | ||
-- | ||
ALTER TABLE sb_content CHANGE `text_one` `text` longtext NULL COMMENT 'Text' | ||
-- | ||
--2015-05-06 09:48:10 | ||
-- | ||
CREATE TABLE `sb_to` (`id` bigint (20) UNSIGNED AUTO_INCREMENT NOT NULL COMMENT 'Primary key' , | ||
|
||
PRIMARY KEY (`id`) | ||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ; | ||
-- | ||
--2015-05-06 09:48:27 | ||
-- | ||
ALTER TABLE `dvelum`.`sb_to` | ||
ADD `new_field` varchar (255) NOT NULL COMMENT 'new_field' ; | ||
-- | ||
--2015-05-06 09:49:17 | ||
-- | ||
ALTER TABLE sb_to CHANGE `new_field` `new_fieldw` varchar (255) NOT NULL COMMENT 'new_fieldw' | ||
-- | ||
--2015-05-06 09:50:30 | ||
-- | ||
ALTER TABLE sb_to CHANGE `new_fieldw` `new_fieldwf` varchar (255) NOT NULL COMMENT 'new_fieldwf' | ||
-- | ||
--2015-05-06 09:54:20 | ||
-- | ||
DROP TABLE `sb_to` | ||
-- | ||
--2015-05-06 09:57:04 | ||
-- | ||
CREATE TABLE `sb_testo` (`id` bigint (20) UNSIGNED AUTO_INCREMENT NOT NULL COMMENT 'Primary key' , | ||
|
||
PRIMARY KEY (`id`) | ||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ; | ||
-- | ||
--2015-05-06 09:57:24 | ||
-- | ||
ALTER TABLE `dvelum`.`sb_testo` | ||
ADD `field_one` varchar (255) NOT NULL COMMENT 'field_one' ; | ||
-- | ||
--2015-05-06 09:57:35 | ||
-- | ||
ALTER TABLE sb_testo CHANGE `field_one` `field_one2` varchar (255) NOT NULL COMMENT 'field_one2' |
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
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 @@ | ||
|
||
/* | ||
* Here you can define application logic | ||
* To obtain info about current user access rights | ||
* you can use global scope JS vars canEdit , canDelete , canPublish | ||
* To access project elements, please use the namespace you defined in the config | ||
* For example: appSysdocsLocalizationRun.Panel or Ext.create("appSysdocsLocalizationClasses.editWindow", {}); | ||
*/ | ||
|
||
function showSysdocsLocalizationEditWindow(id){ | ||
Ext.create("appSysdocsLocalizationClasses.editWindow", { | ||
dataItemId:id, | ||
canDelete:canDelete, | ||
canEdit:canEdit | ||
}).show(); | ||
} | ||
|
||
Ext.onReady(function(){ | ||
|
||
}); |
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 @@ | ||
Ext.ns('app'); | ||
app.content = Ext.create('Ext.Panel',{ | ||
region: 'center', | ||
frame:false, | ||
border:false, | ||
layout:'fit', | ||
margins: '0 5 0 0', | ||
autoScroll:false, | ||
items:[], | ||
collapsible:false | ||
}); | ||
|
||
Ext.application({ | ||
name: 'DVelum Documentation', | ||
launch: function() { | ||
app.application = this; | ||
this.addEvents('projectLoaded'); | ||
app.viewport = Ext.create('Ext.container.Viewport', { | ||
layout: 'fit', | ||
//renderTo: Ext.getBody(), | ||
items:[app.content] | ||
}); | ||
} | ||
}); |
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,49 @@ | ||
<?php | ||
class Sysdocs_Historyid | ||
{ | ||
public function getHid(Db_Object $object) | ||
{ | ||
$name = strtolower($object->getName()); | ||
switch ($object->getName()) | ||
{ | ||
case 'sysdocs_class': | ||
return $this->getClassHid($object->get('fileHid') , $object->get('name')); | ||
break; | ||
case 'sysdocs_class_method': | ||
return $this->getMethodHid($object->get('classHid') , $object->get('name')); | ||
break; | ||
case 'sysdocs_class_method_param': | ||
return $this->getParamHid($object->get('methodHid') , $object->get('name')); | ||
break; | ||
case 'sysdocs_class_property': | ||
return $this->getPropertysHid($object->get('classHid') , $object->get('name')); | ||
break; | ||
case 'sysdocs_file': | ||
return $this->getFileHid($object->get('path') , $object->get('name')); | ||
break; | ||
|
||
default: throw new Exception('Undefined HID generator for '.$name); | ||
} | ||
} | ||
|
||
public function getClassHid($fileHid , $className) | ||
{ | ||
return md5($fileHid. $className); | ||
} | ||
public function getMethodHid($classHid , $methodName) | ||
{ | ||
return md5($classHid . $methodName); | ||
} | ||
public function getParamHid($methodHid , $paramName) | ||
{ | ||
return md5($methodHid . $paramName); | ||
} | ||
public function getPropertysHid($classHid , $propertyName) | ||
{ | ||
return md5($classHid . $propertyName); | ||
} | ||
public function getFileHid($path , $fileName) | ||
{ | ||
return md5($path.$fileName); | ||
} | ||
} |
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 ( | ||
'trait' => 'Trait', | ||
'interface' => 'Interface', | ||
'class' => 'Class', | ||
); |
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,4 @@ | ||
<?php return array ( | ||
'en' => 'English', | ||
'ru' => 'Русский', | ||
); |
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,7 @@ | ||
<?php return array ( | ||
'property' => 'Property', | ||
'method' => 'Method', | ||
'class' => 'Class', | ||
'file' => 'File', | ||
'param' => 'Param', | ||
); |
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 ( | ||
'public' => 'Public', | ||
'private' => 'Prvate', | ||
'protected' => 'Protected', | ||
); |
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 ( | ||
'trait' => 'Trait', | ||
'interface' => 'Interface', | ||
'class' => 'Class', | ||
); |
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,4 @@ | ||
<?php return array ( | ||
'en' => 'English', | ||
'ru' => 'Русский', | ||
); |
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,7 @@ | ||
<?php return array ( | ||
'property' => 'Property', | ||
'method' => 'Method', | ||
'class' => 'Class', | ||
'file' => 'File', | ||
'param' => 'Param', | ||
); |
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 ( | ||
'public' => 'Public', | ||
'private' => 'Prvate', | ||
'protected' => 'Protected', | ||
); |
Oops, something went wrong.