idx int64 0 60.3k | question stringlengths 64 4.24k | target stringlengths 5 618 |
|---|---|---|
14,500 | public static function locallangFolder ( string $ extensionKey , string $ prefix = 'LLL:EXT:' ) : string { return self :: languageFolder ( $ extensionKey , $ prefix ) ; } | Gets the locallang folder from an extension key . |
14,501 | public static function publicFolder ( string $ extensionKey , string $ prefix = 'EXT:' ) : string { $ resourcesFolder = self :: resourcesFolder ( $ extensionKey , $ prefix ) ; return "${resourcesFolder}/Public" ; } | Gets the public folder from an extension key . |
14,502 | public static function getPublicFolder ( string $ extensionKey , string $ prefix = 'EXT:' ) : string { return self :: publicFolder ( $ extensionKey , $ prefix ) ; } | Alias for the publicFolder function . |
14,503 | public static function assetsFolder ( string $ extensionKey , string $ prefix = 'EXT:' ) : string { $ publicFolder = self :: publicFolder ( $ extensionKey , $ prefix ) ; return "${publicFolder}/Assets" ; } | Gets the assets folder from an extension key . |
14,504 | public static function getAssetsFolder ( string $ extensionKey , string $ prefix = 'EXT:' ) : string { return self :: assetsFolder ( $ extensionKey , $ prefix ) ; } | Alias for the assetsFolder function . |
14,505 | public static function iconsFolder ( string $ extensionKey , string $ prefix = 'EXT:' ) : string { $ publicFolder = self :: publicFolder ( $ extensionKey , $ prefix ) ; return "${publicFolder}/Icons" ; } | Gets the icons folder from an extension key . |
14,506 | public static function getIconsFolder ( string $ extensionKey , string $ prefix = 'EXT:' ) : string { return self :: iconsFolder ( $ extensionKey , $ prefix ) ; } | Alias for the iconsFolder function . |
14,507 | public static function placeholdersFolder ( string $ extensionKey , string $ prefix = 'EXT:' ) : string { $ publicFolder = self :: publicFolder ( $ extensionKey , $ prefix ) ; return "${publicFolder}/Placeholders" ; } | Gets the placeholders folder from an extension key . |
14,508 | public static function getPlaceholdersFolder ( string $ extensionKey , string $ prefix = 'EXT:' ) : string { return self :: placeholdersFolder ( $ extensionKey , $ prefix ) ; } | Alias for the placeholdersFolder function . |
14,509 | public static function samplesFolder ( string $ extensionKey , string $ prefix = 'EXT:' ) : string { $ publicFolder = self :: publicFolder ( $ extensionKey , $ prefix ) ; return "${publicFolder}/Samples" ; } | Gets the samples folder from an extension key . |
14,510 | public static function getSamplesFolder ( string $ extensionKey , string $ prefix = 'EXT:' ) : string { return self :: samplesFolder ( $ extensionKey , $ prefix ) ; } | Alias for the samplesFolder function . |
14,511 | public function getAsset ( $ dist = false ) { return Yii :: app ( ) -> assetManager -> publish ( YiiBase :: getPathOfAlias ( 'application.modules.dashboard.assets' ) , true , - 1 , YII_DEBUG ) ; } | Retrieve assetManager from anywhere without having to instatiate this code |
14,512 | public function beforeAction ( $ action ) { if ( ! Yii :: app ( ) -> getRequest ( ) -> isSecureConnection && Cii :: getConfig ( 'forceSecureSSL' , false ) ) $ this -> redirect ( 'https://' . Yii :: app ( ) -> getRequest ( ) -> serverName . Yii :: app ( ) -> getRequest ( ) -> requestUri ) ; Yii :: app ( ) -> setTheme ( ... | Before action method |
14,513 | public function getPrice ( $ price , $ discount , $ request ) { if ( ! $ this -> isValid ( $ discount , $ request ) ) throw new Discount_Exception_InvalidDiscount ( ) ; $ newPrice = $ price - ( $ price * $ discount -> off_value / 100 ) ; return $ newPrice ; } | Compute new price after use given discount . |
14,514 | public function index ( Request $ request ) { $ mensajes = $ this -> contactoMensajeRepo -> findMessageAndPaginate ( $ request ) ; return view ( 'admin.formularios.contacto.list' , compact ( 'mensajes' ) ) ; } | Show the form for editing the specified adminconfig . |
14,515 | protected function loadConfig ( ) { $ this -> container [ 'app' ] -> getConfig ( ) -> load ( $ this -> getConfigFiles ( ) ) ; $ this -> dispatchEvent ( KernelEvents :: CONFIG_LOADED , new KernelEvent ( $ this -> container ) ) ; } | Load Config from config files |
14,516 | public function createConditionGenerator ( $ query , SearchCondition $ searchCondition ) { if ( $ query instanceof NativeQuery ) { return new NativeQueryConditionGenerator ( $ query , $ searchCondition ) ; } if ( $ query instanceof Query || $ query instanceof QueryBuilder ) { return new DqlConditionGenerator ( $ query ... | Creates a new ConditionGenerator for the SearchCondition . |
14,517 | public function createCachedConditionGenerator ( $ conditionGenerator , $ ttl = null ) : ConditionGenerator { if ( null === $ this -> cacheDriver ) { return $ conditionGenerator ; } if ( $ conditionGenerator instanceof DqlConditionGenerator ) { return new CachedDqlConditionGenerator ( $ conditionGenerator , $ this -> c... | Creates a new CachedConditionGenerator instance for the ConditionGenerator . |
14,518 | public static function mapMethod ( array $ sequence , $ method , array $ arguments = array ( ) ) { if ( empty ( $ arguments ) ) { $ f = function ( $ element ) use ( $ method ) { return $ element -> $ method ( ) ; } ; } else { $ f = function ( $ element ) use ( $ method , $ arguments ) { return call_user_func_array ( ar... | Return an array of the results of calling a method for each element of a sequence . |
14,519 | public static function some ( array $ sequence , $ predicate ) { foreach ( $ sequence as $ element ) { if ( call_user_func ( $ predicate , $ element ) ) { return true ; } } return false ; } | Return TRUE if at leat one element of sequence matches predicate . |
14,520 | public static function every ( array $ sequence , $ predicate ) { foreach ( $ sequence as $ element ) { if ( ! call_user_func ( $ predicate , $ element ) ) { return false ; } } return true ; } | Return TRUE if every element of sequence fullfills predicate . |
14,521 | public static function flatten ( array $ sequence ) { $ flat = array ( ) ; array_walk_recursive ( $ sequence , function ( $ element ) use ( & $ flat ) { $ flat [ ] = $ element ; } ) ; return $ flat ; } | Flatten sequence . |
14,522 | public function addPrefix ( $ table ) { if ( strpos ( $ table , '`' ) !== false ) { return $ table ; } preg_match ( '/([\w_\.]+)( (as )?[\w_]+)?/i' , $ table , $ match ) ; $ table = count ( $ match ) == 2 ? $ table : $ match [ 1 ] ; $ alias = '' ; if ( count ( $ match ) > 2 ) { $ alias = $ match [ 2 ] ; } if ( strpos (... | ADD TABLE PREFIX |
14,523 | function vardump ( $ var , $ depth = 0 ) { if ( is_array ( $ var ) ) { $ result = "Array (" . count ( $ var ) . ")<BR>" ; foreach ( array_keys ( $ var ) as $ key ) { $ result .= $ this -> tab [ $ depth ] . "<B>$key</B>: " . $ this -> vardump ( $ var [ $ key ] , $ depth + 1 ) ; } return $ result ; } else { $ ret = htmle... | Recursive Variable Display Output |
14,524 | function highlight_html ( $ code ) { $ code = htmlentities ( $ code ) ; $ code = preg_replace ( '/([a-zA-Z_]+)=/' , '<font color="#FF0000">$1=</font>' , $ code ) ; $ code = preg_replace ( '/(<[\/a-zA-Z0-9&;]+)/' , '<font color="#0000FF">$1</font>' , $ code ) ; $ code = str_replace ( '<!--' , '<font color="#008080... | Highlight HTML Source |
14,525 | public function send ( $ code , $ body = '' ) { if ( ! isset ( $ this -> codes [ $ code ] ) ) { $ statusCode = 500 ; $ body = 'API attempted to return an unknown HTTP status.' ; } if ( ! $ body ) $ body = $ this -> codes [ $ code ] ; header ( 'HTTP/1.1 ' . $ code . ' ' . $ this -> codes [ $ code ] ) ; header ( 'Content... | Output a JSON formatted response of the supplied body param along with the supplied code param as the HTTP status code . |
14,526 | protected function viewDetail ( $ id , $ field ) { $ model = $ this -> findModel ( $ id ) ; $ definition = array_merge ( $ model -> fields ( ) , $ model -> extraFields ( ) ) ; if ( isset ( $ definition [ $ field ] ) ) { return is_string ( $ definition [ $ field ] ) ? $ model -> { $ definition [ $ field ] } : call_user_... | Displays a single filed of model . |
14,527 | protected function callFunction ( $ functionName ) { $ functionArgs = func_get_args ( ) ; $ params = array_splice ( $ functionArgs , 1 ) ; foreach ( $ this -> plugins as $ plugin ) { $ functionList = $ plugin -> getFunctionList ( ) ; if ( in_array ( $ functionName , $ functionList ) === true ) { return $ plugin -> call... | Used to call a function in a template |
14,528 | protected function startRenderBlock ( $ blockName , $ segmentText ) { foreach ( $ this -> plugins as $ plugin ) { $ blockRenderList = $ plugin -> getBlockRenderList ( ) ; if ( in_array ( $ blockName , $ blockRenderList ) === true ) { echo $ plugin -> callBlockRenderStart ( $ blockName , $ segmentText ) ; ob_start ( ) ;... | Called when a block is started in a template . |
14,529 | protected function endRenderBlock ( $ blockName ) { $ contents = ob_get_contents ( ) ; ob_end_clean ( ) ; foreach ( $ this -> plugins as $ plugin ) { $ blockRenderList = $ plugin -> getBlockRenderList ( ) ; if ( in_array ( $ blockName , $ blockRenderList ) === true ) { echo $ plugin -> callBlockRenderEnd ( $ blockName ... | Called when a block is ended in a template . |
14,530 | public function getServerInfo ( $ login ) { static $ lockAcquired = false ; if ( isset ( $ this -> servers [ $ login ] ) ) { $ cacheKey = $ this -> _getServerInfoCacheKey ( $ login ) ; $ cacheResult = $ this -> serverInfoCache -> fetch ( $ cacheKey ) ; if ( $ cacheResult ) { return $ cacheResult ; } else if ( ! $ lockA... | Returns server information . If server information not in cache will make call to the dedicated server . Try to use this with ajax calls in order to have a faster website . |
14,531 | public function getServerChatLines ( $ login ) { static $ lockAcquired = false ; if ( isset ( $ this -> servers [ $ login ] ) ) { $ cacheKey = $ this -> _getServerChatCacheKey ( $ login ) ; $ cacheResult = $ this -> serverInfoCache -> fetch ( $ cacheKey ) ; if ( $ cacheResult ) { return $ cacheResult ; } else if ( ! $ ... | Returns chat lines . Try to use this with ajax calls in order to have a faster website . |
14,532 | public function getMapList ( $ login ) { static $ lockAcquired = false ; if ( isset ( $ this -> servers [ $ login ] ) ) { $ cacheKey = $ this -> _getServerMapsCacheKey ( $ login ) ; $ cacheResult = $ this -> serverInfoCache -> fetch ( $ cacheKey ) ; if ( $ cacheResult ) { return $ cacheResult ; } else if ( ! $ lockAcqu... | Returns list of maps on the server . If list of map not in cache will make a call to the dedicatd server . Try to use this with ajax calls in order to have a faster website . |
14,533 | public function getServerNames ( ) { $ serverNames = array ( ) ; foreach ( $ this -> servers as $ login => $ data ) { $ serverNames [ $ login ] = $ data [ 'name' ] ; } return $ serverNames ; } | Returns login server name association . This is the name you defined in the config and therfore won t make any dedicated calls . |
14,534 | public function getConnection ( $ login ) { if ( isset ( $ this -> servers [ $ login ] ) ) { if ( ! isset ( $ this -> connections [ $ login ] ) ) { $ conf = $ this -> servers [ $ login ] ; $ this -> connections [ $ login ] = Connection :: factory ( $ conf [ 'host' ] , $ conf [ 'port' ] , 1 , $ conf [ 'user' ] , $ conf ... | Connects to the dedicated server API if connection already established will send existing connextion |
14,535 | public function findFormClassName ( ) { $ this -> runIfNotCached ( 'formClassName' , function ( ) { return $ this -> findFormTag ( ) -> attr ( self :: FORM_CLASS_NAME_ATTR_NAME ) ; } ) ; return $ this -> formClassName ; } | Get class - name for the form |
14,536 | private function transpileFields ( ) { $ formElements = 'input, select, textarea, button' ; $ this -> findFormTag ( ) -> filter ( $ formElements ) -> each ( function ( Crawler $ node , $ i ) { if ( null !== $ node -> attr ( 'type' ) ) { $ type = $ node -> attr ( 'type' ) ; } else { $ type = $ node -> nodeName ( ) ; } $... | Find fields in markup |
14,537 | private function runIfNotCached ( $ variableName , callable $ function ) { if ( null === $ this -> { $ variableName } ) { if ( null !== $ result = $ function ( ) ) { $ this -> { $ variableName } = $ result ; } } } | Check if a variable is empty and run function to |
14,538 | public function getHydratorClassName ( $ fqcn ) { $ config = new Configuration ( $ fqcn ) ; $ config -> setAutoGenerateProxies ( $ this -> generateProxies ) ; $ config -> setGeneratedClassesTargetDir ( $ this -> cacheDir ) ; return $ config -> createFactory ( ) -> getHydratorClass ( ) ; } | Gets the hydrator class name . |
14,539 | protected function bootstrapEnvironment ( ) { $ this [ "debug" ] = ! ! $ this [ "app.config" ] [ "environment.debug" ] ; Errorhandler :: register ( ) ; ExceptionHandler :: register ( $ this [ "debug" ] ) ; Request :: enableHttpMethodParameterOverride ( ) ; } | Prepare the environment registering the Error and Exception handlers and allowing HTTP method parameter overriding . |
14,540 | public function valid ( $ language ) { if ( empty ( $ language ) ) { return false ; } if ( $ language == 'en' || $ language == 'de' || $ language == 'pl' || $ language == 'ru' ) { return true ; } return false ; } | validation of language |
14,541 | public function getHtml ( array $ attributes = [ ] ) : string { return self :: buildTag ( 'option' , $ this -> getLabel ( ) , array_merge ( [ 'value' => $ this -> getValue ( ) , 'selected' => $ this -> isSelected , ] , $ attributes ) ) ; } | Returns the option html . |
14,542 | public function setEntityClassName ( $ name ) { $ trimmedName = trim ( $ name , '\\' ) ; if ( ! class_exists ( $ trimmedName ) ) { throw new RuntimeException ( sprintf ( 'The class "%s" does not exist.' , $ trimmedName ) ) ; } $ this -> entityClassName = $ trimmedName ; return $ this ; } | Sets the FQCN of the entity that is used . |
14,543 | private function maybeAppendWithKey ( string $ key , array & $ result , array $ values ) : void { if ( [ ] !== $ values ) { $ result [ $ key ] = $ values ; } } | append values to result if not empty |
14,544 | public function setObject ( ChildObject $ v = null ) { if ( null !== $ this -> aObject && $ v !== $ this -> aObject ) { $ this -> oldObjectSkillCount = $ this -> aObject ; } if ( $ v === null ) { $ this -> setObjectId ( NULL ) ; } else { $ this -> setObjectId ( $ v -> getId ( ) ) ; } $ this -> aObject = $ v ; if ( $ v ... | Declares an association between this object and a ChildObject object . |
14,545 | public function getObject ( ConnectionInterface $ con = null ) { if ( $ this -> aObject === null && ( $ this -> object_id !== null ) ) { $ this -> aObject = ChildObjectQuery :: create ( ) -> findPk ( $ this -> object_id , $ con ) ; } return $ this -> aObject ; } | Get the associated ChildObject object |
14,546 | public function setFeaturedPicture ( ChildPicture $ v = null ) { if ( $ v === null ) { $ this -> setPictureId ( NULL ) ; } else { $ this -> setPictureId ( $ v -> getId ( ) ) ; } $ this -> aFeaturedPicture = $ v ; if ( $ v !== null ) { $ v -> addFeaturedSkill ( $ this ) ; } return $ this ; } | Declares an association between this object and a ChildPicture object . |
14,547 | public function getFeaturedPicture ( ConnectionInterface $ con = null ) { if ( $ this -> aFeaturedPicture === null && ( $ this -> picture_id !== null ) ) { $ this -> aFeaturedPicture = ChildPictureQuery :: create ( ) -> findPk ( $ this -> picture_id , $ con ) ; } return $ this -> aFeaturedPicture ; } | Get the associated ChildPicture object |
14,548 | public function setKstrukturRoot ( ChildKstruktur $ v = null ) { if ( $ v === null ) { $ this -> setKstrukturId ( NULL ) ; } else { $ this -> setKstrukturId ( $ v -> getId ( ) ) ; } $ this -> aKstrukturRoot = $ v ; if ( $ v !== null ) { $ v -> addRootSkill ( $ this ) ; } return $ this ; } | Declares an association between this object and a ChildKstruktur object . |
14,549 | public function getKstrukturRoot ( ConnectionInterface $ con = null ) { if ( $ this -> aKstrukturRoot === null && ( $ this -> kstruktur_id !== null ) ) { $ this -> aKstrukturRoot = ChildKstrukturQuery :: create ( ) -> findPk ( $ this -> kstruktur_id , $ con ) ; } return $ this -> aKstrukturRoot ; } | Get the associated ChildKstruktur object |
14,550 | public function setFunctionPhaseRoot ( ChildFunctionPhase $ v = null ) { if ( $ v === null ) { $ this -> setFunctionPhaseId ( NULL ) ; } else { $ this -> setFunctionPhaseId ( $ v -> getId ( ) ) ; } $ this -> aFunctionPhaseRoot = $ v ; if ( $ v !== null ) { $ v -> addRootSkill ( $ this ) ; } return $ this ; } | Declares an association between this object and a ChildFunctionPhase object . |
14,551 | public function getFunctionPhaseRoot ( ConnectionInterface $ con = null ) { if ( $ this -> aFunctionPhaseRoot === null && ( $ this -> function_phase_id !== null ) ) { $ this -> aFunctionPhaseRoot = ChildFunctionPhaseQuery :: create ( ) -> findPk ( $ this -> function_phase_id , $ con ) ; } return $ this -> aFunctionPhas... | Get the associated ChildFunctionPhase object |
14,552 | public function initVariations ( $ overrideExisting = true ) { if ( null !== $ this -> collVariations && ! $ overrideExisting ) { return ; } $ this -> collVariations = new ObjectCollection ( ) ; $ this -> collVariations -> setModel ( '\gossi\trixionary\model\Skill' ) ; } | Initializes the collVariations collection . |
14,553 | public function getVariationsJoinSport ( Criteria $ criteria = null , ConnectionInterface $ con = null , $ joinBehavior = Criteria :: LEFT_JOIN ) { $ query = ChildSkillQuery :: create ( null , $ criteria ) ; $ query -> joinWith ( 'Sport' , $ joinBehavior ) ; return $ this -> getVariations ( $ query , $ con ) ; } | If this collection has already been initialized with an identical criteria it returns the collection . Otherwise if this Skill is new it will return an empty collection ; or if this Skill has previously been saved it will retrieve related Variations from storage . |
14,554 | public function initMultiples ( $ overrideExisting = true ) { if ( null !== $ this -> collMultiples && ! $ overrideExisting ) { return ; } $ this -> collMultiples = new ObjectCollection ( ) ; $ this -> collMultiples -> setModel ( '\gossi\trixionary\model\Skill' ) ; } | Initializes the collMultiples collection . |
14,555 | public function getMultiplesJoinFunctionPhaseRoot ( Criteria $ criteria = null , ConnectionInterface $ con = null , $ joinBehavior = Criteria :: LEFT_JOIN ) { $ query = ChildSkillQuery :: create ( null , $ criteria ) ; $ query -> joinWith ( 'FunctionPhaseRoot' , $ joinBehavior ) ; return $ this -> getMultiples ( $ quer... | If this collection has already been initialized with an identical criteria it returns the collection . Otherwise if this Skill is new it will return an empty collection ; or if this Skill has previously been saved it will retrieve related Multiples from storage . |
14,556 | public function initLineagesRelatedBySkillId ( $ overrideExisting = true ) { if ( null !== $ this -> collLineagesRelatedBySkillId && ! $ overrideExisting ) { return ; } $ this -> collLineagesRelatedBySkillId = new ObjectCollection ( ) ; $ this -> collLineagesRelatedBySkillId -> setModel ( '\gossi\trixionary\model\Linea... | Initializes the collLineagesRelatedBySkillId collection . |
14,557 | public function initLineagesRelatedByAncestorId ( $ overrideExisting = true ) { if ( null !== $ this -> collLineagesRelatedByAncestorId && ! $ overrideExisting ) { return ; } $ this -> collLineagesRelatedByAncestorId = new ObjectCollection ( ) ; $ this -> collLineagesRelatedByAncestorId -> setModel ( '\gossi\trixionary... | Initializes the collLineagesRelatedByAncestorId collection . |
14,558 | public function initChildren ( $ overrideExisting = true ) { if ( null !== $ this -> collChildren && ! $ overrideExisting ) { return ; } $ this -> collChildren = new ObjectCollection ( ) ; $ this -> collChildren -> setModel ( '\gossi\trixionary\model\SkillDependency' ) ; } | Initializes the collChildren collection . |
14,559 | public function initParents ( $ overrideExisting = true ) { if ( null !== $ this -> collParents && ! $ overrideExisting ) { return ; } $ this -> collParents = new ObjectCollection ( ) ; $ this -> collParents -> setModel ( '\gossi\trixionary\model\SkillDependency' ) ; } | Initializes the collParents collection . |
14,560 | public function initParts ( $ overrideExisting = true ) { if ( null !== $ this -> collParts && ! $ overrideExisting ) { return ; } $ this -> collParts = new ObjectCollection ( ) ; $ this -> collParts -> setModel ( '\gossi\trixionary\model\SkillPart' ) ; } | Initializes the collParts collection . |
14,561 | public function initComposites ( $ overrideExisting = true ) { if ( null !== $ this -> collComposites && ! $ overrideExisting ) { return ; } $ this -> collComposites = new ObjectCollection ( ) ; $ this -> collComposites -> setModel ( '\gossi\trixionary\model\SkillPart' ) ; } | Initializes the collComposites collection . |
14,562 | public function initSkillGroups ( $ overrideExisting = true ) { if ( null !== $ this -> collSkillGroups && ! $ overrideExisting ) { return ; } $ this -> collSkillGroups = new ObjectCollection ( ) ; $ this -> collSkillGroups -> setModel ( '\gossi\trixionary\model\SkillGroup' ) ; } | Initializes the collSkillGroups collection . |
14,563 | public function getSkillGroups ( Criteria $ criteria = null , ConnectionInterface $ con = null ) { $ partial = $ this -> collSkillGroupsPartial && ! $ this -> isNew ( ) ; if ( null === $ this -> collSkillGroups || null !== $ criteria || $ partial ) { if ( $ this -> isNew ( ) && null === $ this -> collSkillGroups ) { $ ... | Gets an array of ChildSkillGroup objects which contain a foreign key that references this object . |
14,564 | public function addSkillGroup ( ChildSkillGroup $ l ) { if ( $ this -> collSkillGroups === null ) { $ this -> initSkillGroups ( ) ; $ this -> collSkillGroupsPartial = true ; } if ( ! $ this -> collSkillGroups -> contains ( $ l ) ) { $ this -> doAddSkillGroup ( $ l ) ; } return $ this ; } | Method called to associate a ChildSkillGroup object to this object through the ChildSkillGroup foreign key attribute . |
14,565 | public function getSkillGroupsJoinGroup ( Criteria $ criteria = null , ConnectionInterface $ con = null , $ joinBehavior = Criteria :: LEFT_JOIN ) { $ query = ChildSkillGroupQuery :: create ( null , $ criteria ) ; $ query -> joinWith ( 'Group' , $ joinBehavior ) ; return $ this -> getSkillGroups ( $ query , $ con ) ; } | If this collection has already been initialized with an identical criteria it returns the collection . Otherwise if this Skill is new it will return an empty collection ; or if this Skill has previously been saved it will retrieve related SkillGroups from storage . |
14,566 | public function initPictures ( $ overrideExisting = true ) { if ( null !== $ this -> collPictures && ! $ overrideExisting ) { return ; } $ this -> collPictures = new ObjectCollection ( ) ; $ this -> collPictures -> setModel ( '\gossi\trixionary\model\Picture' ) ; } | Initializes the collPictures collection . |
14,567 | public function getPictures ( Criteria $ criteria = null , ConnectionInterface $ con = null ) { $ partial = $ this -> collPicturesPartial && ! $ this -> isNew ( ) ; if ( null === $ this -> collPictures || null !== $ criteria || $ partial ) { if ( $ this -> isNew ( ) && null === $ this -> collPictures ) { $ this -> init... | Gets an array of ChildPicture objects which contain a foreign key that references this object . |
14,568 | public function countPictures ( Criteria $ criteria = null , $ distinct = false , ConnectionInterface $ con = null ) { $ partial = $ this -> collPicturesPartial && ! $ this -> isNew ( ) ; if ( null === $ this -> collPictures || null !== $ criteria || $ partial ) { if ( $ this -> isNew ( ) && null === $ this -> collPict... | Returns the number of related Picture objects . |
14,569 | public function addPicture ( ChildPicture $ l ) { if ( $ this -> collPictures === null ) { $ this -> initPictures ( ) ; $ this -> collPicturesPartial = true ; } if ( ! $ this -> collPictures -> contains ( $ l ) ) { $ this -> doAddPicture ( $ l ) ; } return $ this ; } | Method called to associate a ChildPicture object to this object through the ChildPicture foreign key attribute . |
14,570 | public function initVideos ( $ overrideExisting = true ) { if ( null !== $ this -> collVideos && ! $ overrideExisting ) { return ; } $ this -> collVideos = new ObjectCollection ( ) ; $ this -> collVideos -> setModel ( '\gossi\trixionary\model\Video' ) ; } | Initializes the collVideos collection . |
14,571 | public function getVideos ( Criteria $ criteria = null , ConnectionInterface $ con = null ) { $ partial = $ this -> collVideosPartial && ! $ this -> isNew ( ) ; if ( null === $ this -> collVideos || null !== $ criteria || $ partial ) { if ( $ this -> isNew ( ) && null === $ this -> collVideos ) { $ this -> initVideos (... | Gets an array of ChildVideo objects which contain a foreign key that references this object . |
14,572 | public function addVideo ( ChildVideo $ l ) { if ( $ this -> collVideos === null ) { $ this -> initVideos ( ) ; $ this -> collVideosPartial = true ; } if ( ! $ this -> collVideos -> contains ( $ l ) ) { $ this -> doAddVideo ( $ l ) ; } return $ this ; } | Method called to associate a ChildVideo object to this object through the ChildVideo foreign key attribute . |
14,573 | public function getVideosJoinReference ( Criteria $ criteria = null , ConnectionInterface $ con = null , $ joinBehavior = Criteria :: LEFT_JOIN ) { $ query = ChildVideoQuery :: create ( null , $ criteria ) ; $ query -> joinWith ( 'Reference' , $ joinBehavior ) ; return $ this -> getVideos ( $ query , $ con ) ; } | If this collection has already been initialized with an identical criteria it returns the collection . Otherwise if this Skill is new it will return an empty collection ; or if this Skill has previously been saved it will retrieve related Videos from storage . |
14,574 | public function initSkillReferences ( $ overrideExisting = true ) { if ( null !== $ this -> collSkillReferences && ! $ overrideExisting ) { return ; } $ this -> collSkillReferences = new ObjectCollection ( ) ; $ this -> collSkillReferences -> setModel ( '\gossi\trixionary\model\SkillReference' ) ; } | Initializes the collSkillReferences collection . |
14,575 | public function countSkillReferences ( Criteria $ criteria = null , $ distinct = false , ConnectionInterface $ con = null ) { $ partial = $ this -> collSkillReferencesPartial && ! $ this -> isNew ( ) ; if ( null === $ this -> collSkillReferences || null !== $ criteria || $ partial ) { if ( $ this -> isNew ( ) && null =... | Returns the number of related SkillReference objects . |
14,576 | public function addSkillReference ( ChildSkillReference $ l ) { if ( $ this -> collSkillReferences === null ) { $ this -> initSkillReferences ( ) ; $ this -> collSkillReferencesPartial = true ; } if ( ! $ this -> collSkillReferences -> contains ( $ l ) ) { $ this -> doAddSkillReference ( $ l ) ; } return $ this ; } | Method called to associate a ChildSkillReference object to this object through the ChildSkillReference foreign key attribute . |
14,577 | public function initStructureNodes ( $ overrideExisting = true ) { if ( null !== $ this -> collStructureNodes && ! $ overrideExisting ) { return ; } $ this -> collStructureNodes = new ObjectCollection ( ) ; $ this -> collStructureNodes -> setModel ( '\gossi\trixionary\model\StructureNode' ) ; } | Initializes the collStructureNodes collection . |
14,578 | public function getStructureNodes ( Criteria $ criteria = null , ConnectionInterface $ con = null ) { $ partial = $ this -> collStructureNodesPartial && ! $ this -> isNew ( ) ; if ( null === $ this -> collStructureNodes || null !== $ criteria || $ partial ) { if ( $ this -> isNew ( ) && null === $ this -> collStructure... | Gets an array of ChildStructureNode objects which contain a foreign key that references this object . |
14,579 | public function countStructureNodes ( Criteria $ criteria = null , $ distinct = false , ConnectionInterface $ con = null ) { $ partial = $ this -> collStructureNodesPartial && ! $ this -> isNew ( ) ; if ( null === $ this -> collStructureNodes || null !== $ criteria || $ partial ) { if ( $ this -> isNew ( ) && null === ... | Returns the number of related StructureNode objects . |
14,580 | public function addStructureNode ( ChildStructureNode $ l ) { if ( $ this -> collStructureNodes === null ) { $ this -> initStructureNodes ( ) ; $ this -> collStructureNodesPartial = true ; } if ( ! $ this -> collStructureNodes -> contains ( $ l ) ) { $ this -> doAddStructureNode ( $ l ) ; } return $ this ; } | Method called to associate a ChildStructureNode object to this object through the ChildStructureNode foreign key attribute . |
14,581 | public function initKstruktursRelatedBySkillId ( $ overrideExisting = true ) { if ( null !== $ this -> collKstruktursRelatedBySkillId && ! $ overrideExisting ) { return ; } $ this -> collKstruktursRelatedBySkillId = new ObjectCollection ( ) ; $ this -> collKstruktursRelatedBySkillId -> setModel ( '\gossi\trixionary\mod... | Initializes the collKstruktursRelatedBySkillId collection . |
14,582 | public function getKstruktursRelatedBySkillId ( Criteria $ criteria = null , ConnectionInterface $ con = null ) { $ partial = $ this -> collKstruktursRelatedBySkillIdPartial && ! $ this -> isNew ( ) ; if ( null === $ this -> collKstruktursRelatedBySkillId || null !== $ criteria || $ partial ) { if ( $ this -> isNew ( )... | Gets an array of ChildKstruktur objects which contain a foreign key that references this object . |
14,583 | public function countKstruktursRelatedBySkillId ( Criteria $ criteria = null , $ distinct = false , ConnectionInterface $ con = null ) { $ partial = $ this -> collKstruktursRelatedBySkillIdPartial && ! $ this -> isNew ( ) ; if ( null === $ this -> collKstruktursRelatedBySkillId || null !== $ criteria || $ partial ) { i... | Returns the number of related Kstruktur objects . |
14,584 | public function addKstrukturRelatedBySkillId ( ChildKstruktur $ l ) { if ( $ this -> collKstruktursRelatedBySkillId === null ) { $ this -> initKstruktursRelatedBySkillId ( ) ; $ this -> collKstruktursRelatedBySkillIdPartial = true ; } if ( ! $ this -> collKstruktursRelatedBySkillId -> contains ( $ l ) ) { $ this -> doA... | Method called to associate a ChildKstruktur object to this object through the ChildKstruktur foreign key attribute . |
14,585 | public function getKstruktursRelatedBySkillIdJoinStructureNode ( Criteria $ criteria = null , ConnectionInterface $ con = null , $ joinBehavior = Criteria :: LEFT_JOIN ) { $ query = ChildKstrukturQuery :: create ( null , $ criteria ) ; $ query -> joinWith ( 'StructureNode' , $ joinBehavior ) ; return $ this -> getKstru... | If this collection has already been initialized with an identical criteria it returns the collection . Otherwise if this Skill is new it will return an empty collection ; or if this Skill has previously been saved it will retrieve related KstruktursRelatedBySkillId from storage . |
14,586 | public function initFunctionPhasesRelatedBySkillId ( $ overrideExisting = true ) { if ( null !== $ this -> collFunctionPhasesRelatedBySkillId && ! $ overrideExisting ) { return ; } $ this -> collFunctionPhasesRelatedBySkillId = new ObjectCollection ( ) ; $ this -> collFunctionPhasesRelatedBySkillId -> setModel ( '\goss... | Initializes the collFunctionPhasesRelatedBySkillId collection . |
14,587 | public function getFunctionPhasesRelatedBySkillId ( Criteria $ criteria = null , ConnectionInterface $ con = null ) { $ partial = $ this -> collFunctionPhasesRelatedBySkillIdPartial && ! $ this -> isNew ( ) ; if ( null === $ this -> collFunctionPhasesRelatedBySkillId || null !== $ criteria || $ partial ) { if ( $ this ... | Gets an array of ChildFunctionPhase objects which contain a foreign key that references this object . |
14,588 | public function countFunctionPhasesRelatedBySkillId ( Criteria $ criteria = null , $ distinct = false , ConnectionInterface $ con = null ) { $ partial = $ this -> collFunctionPhasesRelatedBySkillIdPartial && ! $ this -> isNew ( ) ; if ( null === $ this -> collFunctionPhasesRelatedBySkillId || null !== $ criteria || $ p... | Returns the number of related FunctionPhase objects . |
14,589 | public function addFunctionPhaseRelatedBySkillId ( ChildFunctionPhase $ l ) { if ( $ this -> collFunctionPhasesRelatedBySkillId === null ) { $ this -> initFunctionPhasesRelatedBySkillId ( ) ; $ this -> collFunctionPhasesRelatedBySkillIdPartial = true ; } if ( ! $ this -> collFunctionPhasesRelatedBySkillId -> contains (... | Method called to associate a ChildFunctionPhase object to this object through the ChildFunctionPhase foreign key attribute . |
14,590 | public function getFunctionPhasesRelatedBySkillIdJoinStructureNode ( Criteria $ criteria = null , ConnectionInterface $ con = null , $ joinBehavior = Criteria :: LEFT_JOIN ) { $ query = ChildFunctionPhaseQuery :: create ( null , $ criteria ) ; $ query -> joinWith ( 'StructureNode' , $ joinBehavior ) ; return $ this -> ... | If this collection has already been initialized with an identical criteria it returns the collection . Otherwise if this Skill is new it will return an empty collection ; or if this Skill has previously been saved it will retrieve related FunctionPhasesRelatedBySkillId from storage . |
14,591 | public function initSkillVersions ( $ overrideExisting = true ) { if ( null !== $ this -> collSkillVersions && ! $ overrideExisting ) { return ; } $ this -> collSkillVersions = new ObjectCollection ( ) ; $ this -> collSkillVersions -> setModel ( '\gossi\trixionary\model\SkillVersion' ) ; } | Initializes the collSkillVersions collection . |
14,592 | public function getSkillVersions ( Criteria $ criteria = null , ConnectionInterface $ con = null ) { $ partial = $ this -> collSkillVersionsPartial && ! $ this -> isNew ( ) ; if ( null === $ this -> collSkillVersions || null !== $ criteria || $ partial ) { if ( $ this -> isNew ( ) && null === $ this -> collSkillVersion... | Gets an array of ChildSkillVersion objects which contain a foreign key that references this object . |
14,593 | public function countSkillVersions ( Criteria $ criteria = null , $ distinct = false , ConnectionInterface $ con = null ) { $ partial = $ this -> collSkillVersionsPartial && ! $ this -> isNew ( ) ; if ( null === $ this -> collSkillVersions || null !== $ criteria || $ partial ) { if ( $ this -> isNew ( ) && null === $ t... | Returns the number of related SkillVersion objects . |
14,594 | public function addSkillVersion ( ChildSkillVersion $ l ) { if ( $ this -> collSkillVersions === null ) { $ this -> initSkillVersions ( ) ; $ this -> collSkillVersionsPartial = true ; } if ( ! $ this -> collSkillVersions -> contains ( $ l ) ) { $ this -> doAddSkillVersion ( $ l ) ; } return $ this ; } | Method called to associate a ChildSkillVersion object to this object through the ChildSkillVersion foreign key attribute . |
14,595 | public function initSkillsRelatedByParentId ( ) { $ this -> collSkillsRelatedByParentId = new ObjectCollection ( ) ; $ this -> collSkillsRelatedByParentIdPartial = true ; $ this -> collSkillsRelatedByParentId -> setModel ( '\gossi\trixionary\model\Skill' ) ; } | Initializes the collSkillsRelatedByParentId crossRef collection . |
14,596 | public function removeSkillRelatedByParentId ( ChildSkill $ skillRelatedByParentId ) { if ( $ this -> getSkillsRelatedByParentId ( ) -> contains ( $ skillRelatedByParentId ) ) { $ skillDependency = new ChildSkillDependency ( ) ; $ skillDependency -> setSkillRelatedByParentId ( $ skillRelatedByParentId ) ; if ( $ skillR... | Remove skillRelatedByParentId of this object through the kk_trixionary_skill_dependency cross reference table . |
14,597 | public function initSkillsRelatedByDependencyId ( ) { $ this -> collSkillsRelatedByDependencyId = new ObjectCollection ( ) ; $ this -> collSkillsRelatedByDependencyIdPartial = true ; $ this -> collSkillsRelatedByDependencyId -> setModel ( '\gossi\trixionary\model\Skill' ) ; } | Initializes the collSkillsRelatedByDependencyId crossRef collection . |
14,598 | public function removeSkillRelatedByDependencyId ( ChildSkill $ skillRelatedByDependencyId ) { if ( $ this -> getSkillsRelatedByDependencyId ( ) -> contains ( $ skillRelatedByDependencyId ) ) { $ skillDependency = new ChildSkillDependency ( ) ; $ skillDependency -> setSkillRelatedByDependencyId ( $ skillRelatedByDepend... | Remove skillRelatedByDependencyId of this object through the kk_trixionary_skill_dependency cross reference table . |
14,599 | public function initSkillsRelatedByCompositeId ( ) { $ this -> collSkillsRelatedByCompositeId = new ObjectCollection ( ) ; $ this -> collSkillsRelatedByCompositeIdPartial = true ; $ this -> collSkillsRelatedByCompositeId -> setModel ( '\gossi\trixionary\model\Skill' ) ; } | Initializes the collSkillsRelatedByCompositeId crossRef collection . |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.